constructor
Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Public Sub New ( _
    locator As ModelElementLocator, _
    targetDiagram As Diagram, _
    targetSelection As IList(Of DiagramItem), _
    priority As Integer _
)
public NavigateToShapesOnDiagramCommand(
    ModelElementLocator locator,
    Diagram targetDiagram,
    IList<DiagramItem> targetSelection,
    int priority
)
public:
NavigateToShapesOnDiagramCommand(
    ModelElementLocator^ locator, 
    Diagram^ targetDiagram, 
    IList<DiagramItem^>^ targetSelection, 
    int priority
)
new : 
        locator:ModelElementLocator * 
        targetDiagram:Diagram * 
        targetSelection:IList<DiagramItem> * 
        priority:int -> NavigateToShapesOnDiagramCommand
public function NavigateToShapesOnDiagramCommand(
    locator : ModelElementLocator, 
    targetDiagram : Diagram, 
    targetSelection : IList<DiagramItem>, 
    priority : int
)
Parameters
targetDiagram
Type: Microsoft.VisualStudio.Modeling.Diagrams.Diagramdiagram to navigate to
targetSelection
Type: System.Collections.Generic.IList<DiagramItem>collection of ShapeElements to select(expected to be on targetDiagram)
priority
Type: System.Int32Priority of this command.
.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.