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

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

Syntax

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

returnValue = instance.NavigateTo(logicalView, _
    targetDiagramItem, extendedSelection, _
    changeSelection)
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
)
public function NavigateTo(
    logicalView : Guid, 
    targetDiagramItem : DiagramItem, 
    extendedSelection : ICollection<DiagramItem>, 
    changeSelection : boolean
) : boolean

Parameters

Return Value

Type: System.Boolean

Permissions

See Also

Reference

ModelElementLocator Class

ModelElementLocator Members

NavigateTo Overload

Microsoft.VisualStudio.Modeling.Shell Namespace