NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

MessageBox.Show (String, String)

Displays a message box with specified text and caption.

[Visual Basic]
Overloads Public Shared Function Show( _
   ByVal text As String, _
   ByVal caption As String _
) As DialogResult
[C#]
public static DialogResult Show(
   string text,
   string caption
);
[C++]
public: static DialogResult Show(
   String* text,
   String* caption
);
[JScript]
public static function Show(
   text : String,
   caption : String
) : DialogResult;

Parameters

text
The text to display in the message box.
caption
The text to display in the title bar of the message box.

Return Value

The MessageBox.OK value of the DialogResult class.

Remarks

By default, the message box displays an OK button.

See Also

MessageBox Class | MessageBox Members | System.WinForms Namespace | MessageBox.Show Overload List