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.StringThe path of the .modelproj file.
- serviceProvider
Type: System.IServiceProvider
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
- 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 Namespace