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
IDiagram CurrentDiagram { get; }
property IDiagram^ CurrentDiagram {
IDiagram^ get();
}
abstract CurrentDiagram : IDiagram with get
ReadOnly Property CurrentDiagram As IDiagram
Property Value
Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation.IDiagram
See Also
IDiagramContext Interface
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation Namespace
Return to top