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
- 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.
See Also
Reference
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation Namespace