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.StringName of a UML diagram in this modeling project.
Return 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
IModelingProjectReader Interface
Microsoft.VisualStudio.ArchitectureTools.Extensibility Namespace