Share via


PresentationHelpers.CreateIDiagram Method (Diagram)

 

Wrap a diagram from the underlying implementation so that it can be used as a UML modeling diagram. This method does not construct or modify a diagram, but instead provides a convenient reference to an existing diagram.

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

Syntax

public static IDiagram CreateIDiagram(
    this Diagram diagram
)
public:
[ExtensionAttribute]
static IDiagram^ CreateIDiagram(
    Diagram^ diagram
)
static member CreateIDiagram : 
        diagram:Diagram -> IDiagram
<ExtensionAttribute>
Public Shared Function CreateIDiagram (
    diagram As Diagram
) As IDiagram

Parameters

Return Value

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

For more information, see Open a UML model by using the Visual Studio API.

See Also

PresentationHelpers Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation Namespace

Return to top