Share via


ModelingProject.LoadReadOnly Method

Open a modeling project in read only mode.

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

Syntax

'Declaration
Public Shared Function LoadReadOnly ( _
    projectFileName As String, _
    serviceProvider As IServiceProvider _
) As IModelingProjectReader
public static IModelingProjectReader LoadReadOnly(
    string projectFileName,
    IServiceProvider serviceProvider
)
public:
static IModelingProjectReader^ LoadReadOnly(
    String^ projectFileName, 
    IServiceProvider^ serviceProvider
)
static member LoadReadOnly : 
        projectFileName:string * 
        serviceProvider:IServiceProvider -> IModelingProjectReader
public static function LoadReadOnly(
    projectFileName : String, 
    serviceProvider : IServiceProvider
) : IModelingProjectReader

Parameters

  • projectFileName
    Type: System.String

    The path of the .modelproj file.

Return Value

Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.IModelingProjectReader

Remarks

For more information see How to How to: Read a UML Model in Program Code.

.NET Framework Security

See Also

Reference

ModelingProject Class

Microsoft.VisualStudio.ArchitectureTools.Extensibility Namespace