Share via


IModelingProjectReader.LoadDiagram Method

Opens a specified diagram. The diagram must belong to this modeling project.

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

Syntax

'Declaration
Function LoadDiagram ( _
    fileName As String _
) As IDiagram
IDiagram LoadDiagram(
    string fileName
)
IDiagram^ LoadDiagram(
    String^ fileName
)
abstract LoadDiagram : 
        fileName:string -> IDiagram
function LoadDiagram(
    fileName : String
) : IDiagram

Parameters

  • fileName
    Type: System.String

    Name of a UML diagram in this modeling project.

Return Value

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

.NET Framework Security

See Also

Reference

IModelingProjectReader Interface

Microsoft.VisualStudio.ArchitectureTools.Extensibility Namespace