Displays a message box with the specified text.
| C# | Visual Basic |
public static DialogResult Show( string text )
Public Shared Function Show ( _ text As String _ ) As DialogResult
- text (String)
- The text to display in the message box.
One of the DialogResult values.