Share via


IDiagramContext.CurrentDiagram Property

The diagram accessible from this context. If you have obtained the IDiagramContext by casting a EnvDTE.ProjectItem, the diagram might not be the currently activated diagram.

Namespace:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

Syntax

'Declaration
ReadOnly Property CurrentDiagram As IDiagram
IDiagram CurrentDiagram { get; }
property IDiagram^ CurrentDiagram {
    IDiagram^ get ();
}
abstract CurrentDiagram : IDiagram with get
function get CurrentDiagram () : IDiagram

Property Value

Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation.IDiagram

.NET Framework Security

See Also

Reference

IDiagramContext Interface

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation Namespace