Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
Public Sub New ( _
locator As ModelElementLocator, _
targetDiagram As Diagram, _
targetSelection As IList(Of DiagramItem), _
priority As Integer _
)
'使用
Dim locator As ModelElementLocator
Dim targetDiagram As Diagram
Dim targetSelection As IList(Of DiagramItem)
Dim priority As Integer
Dim instance As New NavigateToShapesOnDiagramCommand(locator, _
targetDiagram, targetSelection, _
priority)
public NavigateToShapesOnDiagramCommand(
ModelElementLocator locator,
Diagram targetDiagram,
IList<DiagramItem> targetSelection,
int priority
)
public:
NavigateToShapesOnDiagramCommand(
ModelElementLocator^ locator,
Diagram^ targetDiagram,
IList<DiagramItem^>^ targetSelection,
int priority
)
public function NavigateToShapesOnDiagramCommand(
locator : ModelElementLocator,
targetDiagram : Diagram,
targetSelection : IList<DiagramItem>,
priority : int
)
Parameters
- targetDiagram
Type: Microsoft.VisualStudio.Modeling.Diagrams.Diagram
- targetSelection
Type: System.Collections.Generic.IList<DiagramItem>
- priority
Type: System.Int32
Permissions
- 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.
See Also
Reference
NavigateToShapesOnDiagramCommand Class