ElementOperations Constructor (IServiceProvider, Store)
Note: This API is now obsolete.
Initializes a new instance of the ElementOperations class.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
<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
)
[ObsoleteAttribute(L"Use constructor specifying a particular model Partition")]
public:
ElementOperations(
IServiceProvider^ serviceProvider,
Store^ store
)
[<ObsoleteAttribute("Use constructor specifying a particular model Partition")>]
new :
serviceProvider:IServiceProvider *
store:Store -> ElementOperations
public function ElementOperations(
serviceProvider : IServiceProvider,
store : Store
)
Parameters
- serviceProvider
Type: System.IServiceProvider
The service provider to use.
- store
Type: Microsoft.VisualStudio.Modeling.Store
The store that the ModelElements belong to. Uses the store's default partition
.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.