共用方式為


PackageUtility.ShowMessageBox 方法 (IServiceProvider, String)

若要顯示訊息方塊中的,命令介面內的 helper 方法。 若要顯示只有 [確定] 按鈕的預設值。

命名空間:  Microsoft.VisualStudio.Modeling.Shell
組件:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)

語法

'宣告
Public Shared Sub ShowMessageBox ( _
    serviceProvider As IServiceProvider, _
    messageText As String _
)
public static void ShowMessageBox(
    IServiceProvider serviceProvider,
    string messageText
)

參數

.NET Framework 安全性

請參閱

參考

PackageUtility 類別

ShowMessageBox 多載

Microsoft.VisualStudio.Modeling.Shell 命名空間