DesignSurfaceElementOperations Constructor (IServiceProvider, Partition, Diagram)
Initializes a new instance of the DesignSurfaceElementOperations class.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Sub New ( _
serviceProvider As IServiceProvider, _
modelPartition As Partition, _
diagram As Diagram _
)
public DesignSurfaceElementOperations(
IServiceProvider serviceProvider,
Partition modelPartition,
Diagram diagram
)
public:
DesignSurfaceElementOperations(
IServiceProvider^ serviceProvider,
Partition^ modelPartition,
Diagram^ diagram
)
new :
serviceProvider:IServiceProvider *
modelPartition:Partition *
diagram:Diagram -> DesignSurfaceElementOperations
public function DesignSurfaceElementOperations(
serviceProvider : IServiceProvider,
modelPartition : Partition,
diagram : Diagram
)
Parameters
serviceProvider
Type: System.IServiceProviderService provider
modelPartition
Type: Microsoft.VisualStudio.Modeling.PartitionThe partition for model elements
diagram
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramThe host diagram
.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.
See Also
Reference
DesignSurfaceElementOperations Class