ModelingDocData 建構函式
初始化 ModelingDocData 類別的新執行個體。
命名空間: Microsoft.VisualStudio.Modeling.Shell
組件: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)
語法
'宣告
Protected Sub New ( _
serviceProvider As IServiceProvider, _
editorId As Guid _
)
protected ModelingDocData(
IServiceProvider serviceProvider,
Guid editorId
)
參數
- serviceProvider
型別:System.IServiceProvider
擷取 Visual Studio 服務服務提供者。
- editorId
型別:System.Guid
建立文件編輯器工廠的 GUID。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。