NavigateToShapesOnDiagramCommand Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
constructor
public:
NavigateToShapesOnDiagramCommand(Microsoft::VisualStudio::Modeling::Shell::ModelElementLocator ^ locator, Microsoft::VisualStudio::Modeling::Diagrams::Diagram ^ targetDiagram, System::Collections::Generic::IList<Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^> ^ targetSelection, int priority);
public NavigateToShapesOnDiagramCommand (Microsoft.VisualStudio.Modeling.Shell.ModelElementLocator locator, Microsoft.VisualStudio.Modeling.Diagrams.Diagram targetDiagram, System.Collections.Generic.IList<Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem> targetSelection, int priority);
new Microsoft.VisualStudio.Modeling.Shell.NavigateToShapesOnDiagramCommand : Microsoft.VisualStudio.Modeling.Shell.ModelElementLocator * Microsoft.VisualStudio.Modeling.Diagrams.Diagram * System.Collections.Generic.IList<Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem> * int -> Microsoft.VisualStudio.Modeling.Shell.NavigateToShapesOnDiagramCommand
Public Sub New (locator As ModelElementLocator, targetDiagram As Diagram, targetSelection As IList(Of DiagramItem), priority As Integer)
Parameters
- locator
- ModelElementLocator
- targetDiagram
- Diagram
diagram to navigate to
- targetSelection
- IList<DiagramItem>
collection of ShapeElements to select(expected to be on targetDiagram)
- priority
- Int32
Priority of this command.