Share via


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

Syntax

'Declaration
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: Guid
  • targetSelection
    Type: ICollection<DiagramItem>

    Collection of ShapeElements on targetDiagram.

Return Value

Type: Boolean

.NET Framework Security

See Also

Reference

ModelElementLocator Class

NavigateTo Overload

Microsoft.VisualStudio.Modeling.Shell Namespace