注意:此 API 现在已废弃不用。
初始化 ElementOperations 类的新实例。
命名空间: Microsoft.VisualStudio.Modeling
程序集: Microsoft.VisualStudio.Modeling.Sdk.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.12.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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。