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: StringThe message text.
buttons
Type: MessageBoxButtonsThe buttons to display in the message box.
icon
Type: MessageBoxIconThe icon to display in the message box.
Return Value
Type: 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.