ModelElementLocator.NavigateTo Method (Guid, DiagramItem, ICollection<DiagramItem>)
Display the targetShape's diagram and select the shape (extend the selection to include the extendedSelection.)
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, _
diagramItem As DiagramItem, _
extendedSelection As ICollection(Of DiagramItem) _
) As Boolean
public bool NavigateTo(
Guid logicalView,
DiagramItem diagramItem,
ICollection<DiagramItem> extendedSelection
)
public:
bool NavigateTo(
Guid logicalView,
DiagramItem^ diagramItem,
ICollection<DiagramItem^>^ extendedSelection
)
member NavigateTo :
logicalView:Guid *
diagramItem:DiagramItem *
extendedSelection:ICollection<DiagramItem> -> bool
public function NavigateTo(
logicalView : Guid,
diagramItem : DiagramItem,
extendedSelection : ICollection<DiagramItem>
) : boolean
Parameters
- logicalView
Type: System.Guid
- diagramItem
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
Shape to select.
- extendedSelection
Type: System.Collections.Generic.ICollection<DiagramItem>
Collection of ShapeElements to also select. May be an empty list or null.
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.