Partager via


ElementOperations Constructors

Definition

Overloads

ElementOperations(IServiceProvider)

Initializes a new instance of the ElementOperations class.

ElementOperations(IServiceProvider, Partition)

Initializes a new instance of the ElementOperations class.

ElementOperations(IServiceProvider, Store)
Obsolete.

Initializes a new instance of the ElementOperations class.

ElementOperations(IServiceProvider)

Initializes a new instance of the ElementOperations class.

protected:
 ElementOperations(IServiceProvider ^ serviceProvider);
protected ElementOperations (IServiceProvider serviceProvider);
new Microsoft.VisualStudio.Modeling.ElementOperations : IServiceProvider -> Microsoft.VisualStudio.Modeling.ElementOperations
Protected Sub New (serviceProvider As IServiceProvider)

Parameters

serviceProvider
IServiceProvider

Applies to

ElementOperations(IServiceProvider, Partition)

Initializes a new instance of the ElementOperations class.

public:
 ElementOperations(IServiceProvider ^ serviceProvider, Microsoft::VisualStudio::Modeling::Partition ^ partition);
public ElementOperations (IServiceProvider serviceProvider, Microsoft.VisualStudio.Modeling.Partition partition);
new Microsoft.VisualStudio.Modeling.ElementOperations : IServiceProvider * Microsoft.VisualStudio.Modeling.Partition -> Microsoft.VisualStudio.Modeling.ElementOperations
Public Sub New (serviceProvider As IServiceProvider, partition As Partition)

Parameters

serviceProvider
IServiceProvider

The service provider to use.

partition
Partition

The partition that the ModelElements belong to.

Applies to

ElementOperations(IServiceProvider, Store)

Caution

Use constructor specifying a particular model Partition

Initializes a new instance of the ElementOperations class.

public:
 ElementOperations(IServiceProvider ^ serviceProvider, Microsoft::VisualStudio::Modeling::Store ^ store);
[System.Obsolete("Use constructor specifying a particular model Partition")]
public ElementOperations (IServiceProvider serviceProvider, Microsoft.VisualStudio.Modeling.Store store);
[<System.Obsolete("Use constructor specifying a particular model Partition")>]
new Microsoft.VisualStudio.Modeling.ElementOperations : IServiceProvider * Microsoft.VisualStudio.Modeling.Store -> Microsoft.VisualStudio.Modeling.ElementOperations
Public Sub New (serviceProvider As IServiceProvider, store As Store)

Parameters

serviceProvider
IServiceProvider

The service provider to use.

store
Store

The store that the ModelElements belong to. Uses the store's default partition

Attributes

Applies to