Displays a message box with specified text.
[Visual Basic] Overloads Public Shared Function Show( _ ByVal text As String _ ) As DialogResult [C#] public static DialogResult Show( string text ); [C++] public: static DialogResult Show( String* text ); [JScript] public static function Show( text : String ) : DialogResult;
The MessageBox.OK value of the DialogResult class.
By default, the message box displays an OK button. The message box does not contain a caption in the title.
MessageBox Class | MessageBox Members | System.WinForms Namespace | MessageBox.Show Overload List