Gets the view for the active document window.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
Protected ReadOnly Property CurrentDocView As DiagramDocView
'使用
Dim value As DiagramDocView
value = Me.CurrentDocView
protected DiagramDocView CurrentDocView { get; }
protected:
property DiagramDocView^ CurrentDocView {
DiagramDocView^ get ();
}
protected function get CurrentDocView () : DiagramDocView
Property Value
Type: Microsoft.VisualStudio.Modeling.Shell.DiagramDocView
The view for the active document window.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.