Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Get
IDiagram CurrentDiagram { get; }
property IDiagram^ CurrentDiagram {
IDiagram^ get ();
}
abstract CurrentDiagram : IDiagram
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