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

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

Syntax

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

Parameters

  • serviceProvider
    Type: IServiceProvider

    Service provider

.NET Framework Security

See Also

Reference

DesignSurfaceElementOperations Class

DesignSurfaceElementOperations Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace