DialogBase 建構函式
對話方塊擁有者將是主要的 Visual Studio 視窗。
命名空間: Microsoft.VisualStudio.Modeling.Integration.Shell
組件: Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.12.0.dll 中)
語法
'宣告
Protected Sub New ( _
serviceProvider As IServiceProvider _
)
protected DialogBase(
IServiceProvider serviceProvider
)
參數
- serviceProvider
類型:System.IServiceProvider
Visual Studio 服務提供者
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。