IExplorerNodeContext.ShowMessageBox Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Displays a message box.
public:
System::Windows::Forms::DialogResult ShowMessageBox(System::String ^ message, System::Windows::Forms::MessageBoxButtons buttons, System::Windows::Forms::MessageBoxIcon icon);
public System.Windows.Forms.DialogResult ShowMessageBox (string message, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon);
abstract member ShowMessageBox : string * System.Windows.Forms.MessageBoxButtons * System.Windows.Forms.MessageBoxIcon -> System.Windows.Forms.DialogResult
Public Function ShowMessageBox (message As String, buttons As MessageBoxButtons, icon As MessageBoxIcon) As DialogResult
Parameters
- message
- String
The message text.
- buttons
- MessageBoxButtons
The buttons to display in the message box.
- icon
- MessageBoxIcon
The icon to display in the message box.
Returns
A value that specifies which button the user clicked in the message box.