CommandSet.CurrentDocView Property

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

See Also

Reference

CommandSet Class

CommandSet Members

Microsoft.VisualStudio.Modeling.Shell Namespace