ElementOperations Constructor (IServiceProvider, Partition)
Initializes a new instance of the ElementOperations class.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
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.IServiceProviderThe service provider to use.
partition
Type: Microsoft.VisualStudio.Modeling.PartitionThe 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.