IExplorerNodeContext.ShowMessageBox Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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.StringThe message text.
buttons
Type: System.Windows.Forms.MessageBoxButtonsThe buttons to display in the message box.
icon
Type: System.Windows.Forms.MessageBoxIconThe 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.