Sdílet prostřednictvím


NavigateToShapesOnDiagramCommand Constructor

Definition

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

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.

Applies to