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 (IWin32Window, String)

Displays a message box with specified text.

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

Parameters

owner
The Windows owner of the message box.
text
The text to display in the message box.

Return Value

The MessageBox.OK value of the DialogResult class.

Remarks

By default, the message box displays an OK button. The message box does not have a caption in the title bar.

See Also

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