DesignSurfaceElementOperations Constructors

Definition

Overloads

DesignSurfaceElementOperations(IServiceProvider, Diagram)

Initializes a new instance of the DesignSurfaceElementOperations class for a specific diagram The model partition is assumed to be that of the model element the diagram is viewing.

DesignSurfaceElementOperations(IServiceProvider, Partition)

Initializes a new instance of the DesignSurfaceElementOperations class. Note that since no Diagram is specified, multiple diagrams will not be supported and any merged PELs will end up in the default diagram (the first created diagram viewing the model)

DesignSurfaceElementOperations(IServiceProvider, Partition, Diagram)

Initializes a new instance of the DesignSurfaceElementOperations class.

DesignSurfaceElementOperations(IServiceProvider, Diagram)

Initializes a new instance of the DesignSurfaceElementOperations class for a specific diagram The model partition is assumed to be that of the model element the diagram is viewing.

public:
 DesignSurfaceElementOperations(IServiceProvider ^ serviceProvider, Microsoft::VisualStudio::Modeling::Diagrams::Diagram ^ diagram);
public DesignSurfaceElementOperations (IServiceProvider serviceProvider, Microsoft.VisualStudio.Modeling.Diagrams.Diagram diagram);
new Microsoft.VisualStudio.Modeling.Diagrams.DesignSurfaceElementOperations : IServiceProvider * Microsoft.VisualStudio.Modeling.Diagrams.Diagram -> Microsoft.VisualStudio.Modeling.Diagrams.DesignSurfaceElementOperations
Public Sub New (serviceProvider As IServiceProvider, diagram As Diagram)

Parameters

serviceProvider
IServiceProvider

Service provider

diagram
Diagram

The host diagram

Applies to

DesignSurfaceElementOperations(IServiceProvider, Partition)

Initializes a new instance of the DesignSurfaceElementOperations class. Note that since no Diagram is specified, multiple diagrams will not be supported and any merged PELs will end up in the default diagram (the first created diagram viewing the model)

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

Parameters

serviceProvider
IServiceProvider

Service provider

modelPartition
Partition

The partition for model elements

Applies to

DesignSurfaceElementOperations(IServiceProvider, Partition, Diagram)

Initializes a new instance of the DesignSurfaceElementOperations class.

public:
 DesignSurfaceElementOperations(IServiceProvider ^ serviceProvider, Microsoft::VisualStudio::Modeling::Partition ^ modelPartition, Microsoft::VisualStudio::Modeling::Diagrams::Diagram ^ diagram);
public DesignSurfaceElementOperations (IServiceProvider serviceProvider, Microsoft.VisualStudio.Modeling.Partition modelPartition, Microsoft.VisualStudio.Modeling.Diagrams.Diagram diagram);
new Microsoft.VisualStudio.Modeling.Diagrams.DesignSurfaceElementOperations : IServiceProvider * Microsoft.VisualStudio.Modeling.Partition * Microsoft.VisualStudio.Modeling.Diagrams.Diagram -> Microsoft.VisualStudio.Modeling.Diagrams.DesignSurfaceElementOperations
Public Sub New (serviceProvider As IServiceProvider, modelPartition As Partition, diagram As Diagram)

Parameters

serviceProvider
IServiceProvider

Service provider

modelPartition
Partition

The partition for model elements

diagram
Diagram

The host diagram

Applies to