NavigateToShapesOnDiagramCommand Constructor
constructor
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaração
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.Diagram
diagram to navigate to
- targetSelection
Type: System.Collections.Generic.IList<DiagramItem>
collection of ShapeElements to select(expected to be on targetDiagram)
- priority
Type: System.Int32
Priority 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.