ModelingProject.GetReadWriteModelingProject 方法
通过 UML 项目的 GUID 访问该项目。
命名空间: Microsoft.VisualStudio.ArchitectureTools.Extensibility
程序集: Microsoft.VisualStudio.ArchitectureTools.Extensibility(在 Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll 中)
语法
声明
Public Shared Function GetReadWriteModelingProject ( _
serviceProvider As IServiceProvider, _
projectGuid As Guid _
) As IModelingProject
public static IModelingProject GetReadWriteModelingProject(
IServiceProvider serviceProvider,
Guid projectGuid
)
public:
static IModelingProject^ GetReadWriteModelingProject(
IServiceProvider^ serviceProvider,
Guid projectGuid
)
static member GetReadWriteModelingProject :
serviceProvider:IServiceProvider *
projectGuid:Guid -> IModelingProject
public static function GetReadWriteModelingProject(
serviceProvider : IServiceProvider,
projectGuid : Guid
) : IModelingProject
参数
- serviceProvider
类型:System.IServiceProvider
- projectGuid
类型:System.Guid
返回值
类型:Microsoft.VisualStudio.ArchitectureTools.Extensibility.IModelingProject
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。