DiagramDocView.CurrentDiagram Property

Gets the currently selected model in the active diagram view.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'宣言
Public MustOverride ReadOnly Property CurrentDiagram As Diagram
'使用
Dim instance As DiagramDocView
Dim value As Diagram

value = instance.CurrentDiagram
public abstract Diagram CurrentDiagram { get; }
public:
virtual property Diagram^ CurrentDiagram {
    Diagram^ get () abstract;
}
public abstract function get CurrentDiagram () : Diagram

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.Diagram

The currently selected model in the active diagram view.

Permissions

See Also

Reference

DiagramDocView Class

DiagramDocView Members

Microsoft.VisualStudio.Modeling.Shell Namespace