IExplorerNodeContext.ShowMessageBox Method
Displays a message box.
Namespace: Microsoft.VisualStudio.SharePoint.Explorer
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Function ShowMessageBox ( _
message As String, _
buttons As MessageBoxButtons, _
icon As MessageBoxIcon _
) As DialogResult
DialogResult ShowMessageBox(
string message,
MessageBoxButtons buttons,
MessageBoxIcon icon
)
Parameters
- message
Type: System.String
The message text.
- buttons
Type: System.Windows.Forms.MessageBoxButtons
The buttons to display in the message box.
- icon
Type: System.Windows.Forms.MessageBoxIcon
The icon to display in the message box.
Return Value
Type: System.Windows.Forms.DialogResult
A value that specifies which button the user clicked in the message box.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.