ModelElementLocator.NavigateTo Method (Guid, DiagramItem, ICollection<DiagramItem>, Boolean)
Display the targetShape's diagram and, if desired, 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 Overridable Function NavigateTo ( _
logicalView As Guid, _
targetDiagramItem As DiagramItem, _
extendedSelection As ICollection(Of DiagramItem), _
changeSelection As Boolean _
) As Boolean
public virtual bool NavigateTo(
Guid logicalView,
DiagramItem targetDiagramItem,
ICollection<DiagramItem> extendedSelection,
bool changeSelection
)
public:
virtual bool NavigateTo(
Guid logicalView,
DiagramItem^ targetDiagramItem,
ICollection<DiagramItem^>^ extendedSelection,
bool changeSelection
)
abstract NavigateTo :
logicalView:Guid *
targetDiagramItem:DiagramItem *
extendedSelection:ICollection<DiagramItem> *
changeSelection:bool -> bool
override NavigateTo :
logicalView:Guid *
targetDiagramItem:DiagramItem *
extendedSelection:ICollection<DiagramItem> *
changeSelection:bool -> bool
public function NavigateTo(
logicalView : Guid,
targetDiagramItem : DiagramItem,
extendedSelection : ICollection<DiagramItem>,
changeSelection : boolean
) : boolean
Parameters
- logicalView
Type: System.Guid
- targetDiagramItem
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.
- changeSelection
Type: System.Boolean
If true, change the selection. If false, show the elements without selecting them.
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.