VsModelingView.GetDocView 方法
呼叫 GetDocView 會將這個 VsModelingView 執行個體附加至其所代表的 ModelingDocView 執行個體。 呼叫端必須明確地呼叫 Show(),才能在 VS 中顯示 WindowFrame (如果未顯示)。
命名空間: Microsoft.VisualStudio.Modeling.Integration.Shell
組件: Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.12.0.dll 中)
語法
'宣告
Protected Function GetDocView As ModelingDocView
protected ModelingDocView GetDocView()
傳回值
類型:Microsoft.VisualStudio.Modeling.Shell.ModelingDocView
這個 ModelBusView 物件所代表的 ModelingDocView
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。