[This is preliminary documentation and is subject to change.]
Displays a message box with specified text.
Namespace: Tools.WindowsT.IndependentTAssembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
[EditorBrowsableAttribute(EditorBrowsableState.Always)] public static DialogResult Show( string text ) |
| Visual Basic |
|---|
<EditorBrowsableAttribute(EditorBrowsableState.Always)> _ Public Shared Function Show ( _ text As String _ ) As DialogResult |
| Visual C++ |
|---|
[EditorBrowsableAttribute(EditorBrowsableState::Always)] public: static DialogResult Show( String^ text ) |
| F# |
|---|
[<EditorBrowsableAttribute(EditorBrowsableState.Always)>] static member Show : text:string -> DialogResult |
| JScript |
|---|
public static function Show( text : String ) : DialogResult |
Parameters
- text
- Type: System..::..String
The text to display in the message box.
Return Value
One of the DialogResult values.
Remarks
This function mimics the Show(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, Boolean) function
Exceptions
| Exception | Condition |
|---|---|
| System.Reflection..::..TargetInvocationException | There was an error working working with customized static properties such as DefaultImplementation or message box implementation failed. |