共用方式為


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 安全性

請參閱

參考

VsModelingView 類別

Microsoft.VisualStudio.Modeling.Integration.Shell 命名空間