ElementOperations Constructor (IServiceProvider, Partition)
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
'Déclaration
Public Sub New ( _
serviceProvider As IServiceProvider, _
partition As Partition _
)
public ElementOperations(
IServiceProvider serviceProvider,
Partition partition
)
public:
ElementOperations(
IServiceProvider^ serviceProvider,
Partition^ partition
)
new :
serviceProvider:IServiceProvider *
partition:Partition -> ElementOperations
public function ElementOperations(
serviceProvider : IServiceProvider,
partition : Partition
)
Parameters
- serviceProvider
Type: System.IServiceProvider
The service provider to use.
- partition
Type: Microsoft.VisualStudio.Modeling.Partition
The partition that the ModelElements belong to.
.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.