DiagramDocView.CurrentDiagram Property
Gets the currently selected model in the active diagram view.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaración
Public MustOverride ReadOnly Property CurrentDiagram As Diagram
Get
public abstract Diagram CurrentDiagram { get; }
public:
virtual property Diagram^ CurrentDiagram {
Diagram^ get () abstract;
}
abstract CurrentDiagram : Diagram
abstract function get CurrentDiagram () : Diagram
Property Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.Diagram
The currently selected model in the active diagram view.
.NET Framework Security
- 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.