Share via


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: String

    The message text.

  • buttons
    Type: MessageBoxButtons

    The buttons to display in the message box.

  • icon
    Type: MessageBoxIcon

    The 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

See Also

Reference

IExplorerNodeContext Interface

Microsoft.VisualStudio.SharePoint.Explorer Namespace