Export (0) Print
Expand All

MessageBox Methods

The MessageBox type exposes the following members.

  Name Description
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member Show(String) Displays a message box with specified text.
Public method Static member Show(IWin32Window, String) Displays a message box in front of the specified object and with the specified text.
Public method Static member Show(String, String) Displays a message box with specified text and caption.
Public method Static member Show(IWin32Window, String, String) Displays a message box in front of the specified object and with the specified text and caption.
Public method Static member Show(String, String, MessageBoxButtons) Displays a message box with specified text, caption, and buttons.
Public method Static member Show(IWin32Window, String, String, MessageBoxButtons) Displays a message box in front of the specified object and with the specified text, caption, and buttons.
Public method Static member Show(String, String, MessageBoxButtons, MessageBoxIcon) Displays a message box with specified text, caption, buttons, and icon.
Public method Static member 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.
Public method Static member Show(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton) Displays a message box with the specified text, caption, buttons, icon, and default button.
Public method Static member 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.
Public method Static member Show(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions) Displays a message box with the specified text, caption, buttons, icon, default button, and options.
Public method Static member 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.
Public method Static member 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.
Public method Static member 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.
Public method Static member 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.
Public method Static member 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.
Public method Static member 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.
Public method Static member 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.
Public method Static member 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.
Public method Static member 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.
Public method Static member 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.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Show:
© 2014 Microsoft