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

Syntax

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

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

ModelElementLocator Class

NavigateTo Overload

Microsoft.VisualStudio.Modeling.Shell Namespace