Share via


DesignSurfaceElementOperations Constructor (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)

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaration
Public Sub New ( _
    serviceProvider As IServiceProvider, _
    modelPartition As Partition _
)
public DesignSurfaceElementOperations(
    IServiceProvider serviceProvider,
    Partition modelPartition
)
public:
DesignSurfaceElementOperations(
    IServiceProvider^ serviceProvider, 
    Partition^ modelPartition
)
new : 
        serviceProvider:IServiceProvider * 
        modelPartition:Partition -> DesignSurfaceElementOperations
public function DesignSurfaceElementOperations(
    serviceProvider : IServiceProvider, 
    modelPartition : Partition
)

Parameters

.NET Framework Security

See Also

Reference

DesignSurfaceElementOperations Class

DesignSurfaceElementOperations Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace