ModelElementLocator.NavigateTo Method (Guid, DiagramItem, ICollection<DiagramItem>)

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'宣言
Public Function NavigateTo ( _
    logicalView As Guid, _
    diagramItem As DiagramItem, _
    extendedSelection As ICollection(Of DiagramItem) _
) As Boolean
'使用
Dim instance As ModelElementLocator
Dim logicalView As Guid
Dim diagramItem As DiagramItem
Dim extendedSelection As ICollection(Of DiagramItem)
Dim returnValue As Boolean

returnValue = instance.NavigateTo(logicalView, _
    diagramItem, extendedSelection)
public bool NavigateTo(
    Guid logicalView,
    DiagramItem diagramItem,
    ICollection<DiagramItem> extendedSelection
)
public:
bool NavigateTo(
    Guid logicalView, 
    DiagramItem^ diagramItem, 
    ICollection<DiagramItem^>^ extendedSelection
)
public function NavigateTo(
    logicalView : Guid, 
    diagramItem : DiagramItem, 
    extendedSelection : ICollection<DiagramItem>
) : boolean

Parameters

Return Value

Type: System.Boolean

Permissions

See Also

Reference

ModelElementLocator Class

ModelElementLocator Members

NavigateTo Overload

Microsoft.VisualStudio.Modeling.Shell Namespace