Share via


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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
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

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

ModelElementLocator Class

NavigateTo Overload

Microsoft.VisualStudio.Modeling.Shell Namespace