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

'Declaração
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

  • 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

See Also

Reference

ModelElementLocator Class

NavigateTo Overload

Microsoft.VisualStudio.Modeling.Shell Namespace