MessageBox Methods
.NET Framework 4.5
The MessageBox type exposes the following members.
| Name | Description | |
|---|---|---|
|
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Show(String) | Displays a message box with specified text. |
|
Show(IWin32Window, String) | Displays a message box in front of the specified object and with the specified text. |
|
Show(String, String) | Displays a message box with specified text and caption. |
|
Show(IWin32Window, String, String) | Displays a message box in front of the specified object and with the specified text and caption. |
|
Show(String, String, MessageBoxButtons) | Displays a message box with specified text, caption, and buttons. |
|
Show(IWin32Window, String, String, MessageBoxButtons) | Displays a message box in front of the specified object and with the specified text, caption, and buttons. |
|
Show(String, String, MessageBoxButtons, MessageBoxIcon) | Displays a message box with specified text, caption, buttons, and icon. |
|
Show(IWin32Window, String, String, MessageBoxButtons, MessageBoxIcon) | Displays a message box in front of the specified object and with the specified text, caption, buttons, and icon. |
|
Show(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton) | Displays a message box with the specified text, caption, buttons, icon, and default button. |
|
Show(IWin32Window, String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton) | Displays a message box in front of the specified object and with the specified text, caption, buttons, icon, and default button. |
|
Show(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions) | Displays a message box with the specified text, caption, buttons, icon, default button, and options. |
|
Show(IWin32Window, String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions) | Displays a message box in front of the specified object and with the specified text, caption, buttons, icon, default button, and options. |
|
Show(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, Boolean) | Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button. |
|
Show(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, String) | Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file. |
|
Show(IWin32Window, String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, String) | Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file. |
|
Show(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, String, String) | Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file and Help keyword. |
|
Show(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, String, HelpNavigator) | Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file and HelpNavigator. |
|
Show(IWin32Window, String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, String, String) | Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file and Help keyword. |
|
Show(IWin32Window, String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, String, HelpNavigator) | Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file and HelpNavigator. |
|
Show(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, String, HelpNavigator, Object) | Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file, HelpNavigator, and Help topic. |
|
Show(IWin32Window, String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, String, HelpNavigator, Object) | Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file, HelpNavigator, and Help topic. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |