共用方式為


IExplorerNodeContext.ShowMessageBox 方法

顯示訊息方塊。

命名空間:  Microsoft.VisualStudio.SharePoint.Explorer
組件:  Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)

語法

'宣告
Function ShowMessageBox ( _
    message As String, _
    buttons As MessageBoxButtons, _
    icon As MessageBoxIcon _
) As DialogResult
DialogResult ShowMessageBox(
    string message,
    MessageBoxButtons buttons,
    MessageBoxIcon icon
)

參數

傳回值

型別:System.Windows.Forms.DialogResult
指定使用者在訊息方塊中按一下哪個按鈕的值。

.NET Framework 安全性

請參閱

參考

IExplorerNodeContext 介面

Microsoft.VisualStudio.SharePoint.Explorer 命名空間