ElementOperations 构造函数 (IServiceProvider, Store)
注意:此 API 现在已过时。
初始化 ElementOperations 类的新实例。
命名空间: Microsoft.VisualStudio.Modeling
程序集: Microsoft.VisualStudio.Modeling.Sdk.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.11.0.dll 中)
语法
声明
<ObsoleteAttribute("Use constructor specifying a particular model Partition")> _
Public Sub New ( _
serviceProvider As IServiceProvider, _
store As Store _
)
[ObsoleteAttribute("Use constructor specifying a particular model Partition")]
public ElementOperations(
IServiceProvider serviceProvider,
Store store
)
参数
- serviceProvider
类型:System.IServiceProvider
使用的服务提供程序。
- store
类型:Microsoft.VisualStudio.Modeling.Store
存储 ModelElements 属于。使用存储的默认分区
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。