DesignSurfaceElementOperations Constructor (IServiceProvider^, Diagram^)
Visual Studio 2015
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.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public:
DesignSurfaceElementOperations(
IServiceProvider^ serviceProvider,
Diagram^ diagram
)
Parameters
- serviceProvider
-
Type:
System::IServiceProvider^
Service provider
- diagram
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::Diagram^
The host diagram
Show: