ModelElementLocator.NavigateTo Method (Guid, Diagram, ICollection<DiagramItem>)
Display the target diagram and select the target shapes. The first shape in the list is the primary selection.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaración
Public Function NavigateTo ( _
logicalView As Guid, _
targetDiagram As Diagram, _
targetSelection As ICollection(Of DiagramItem) _
) As Boolean
public bool NavigateTo(
Guid logicalView,
Diagram targetDiagram,
ICollection<DiagramItem> targetSelection
)
public:
bool NavigateTo(
Guid logicalView,
Diagram^ targetDiagram,
ICollection<DiagramItem^>^ targetSelection
)
member NavigateTo :
logicalView:Guid *
targetDiagram:Diagram *
targetSelection:ICollection<DiagramItem> -> bool
public function NavigateTo(
logicalView : Guid,
targetDiagram : Diagram,
targetSelection : ICollection<DiagramItem>
) : boolean
Parameters
- logicalView
Type: System.Guid
- targetDiagram
Type: Microsoft.VisualStudio.Modeling.Diagrams.Diagram
- targetSelection
Type: System.Collections.Generic.ICollection<DiagramItem>
Collection of ShapeElements on targetDiagram.
Return Value
Type: System.Boolean
.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.