Udostępnij za pośrednictwem


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

Wyświetlić diagram targetShape i, jeśli to konieczne, zaznacz kształt (rozszerza zaznaczenie na extendedSelection).

Przestrzeń nazw:  Microsoft.VisualStudio.Modeling.Shell
Zestaw:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (w Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)

Składnia

'Deklaracja
Public Overridable Function NavigateTo ( _
    logicalView As Guid, _
    targetDiagramItem As DiagramItem, _
    extendedSelection As ICollection(Of DiagramItem), _
    changeSelection As Boolean _
) As Boolean
public virtual bool NavigateTo(
    Guid logicalView,
    DiagramItem targetDiagramItem,
    ICollection<DiagramItem> extendedSelection,
    bool changeSelection
)

Parametry

  • changeSelection
    Typ: System.Boolean
    Jeśli ma wartość PRAWDA, należy zmienić zaznaczenie.Jeśli ma wartość FAŁSZ, Pokaż elementy bez ich zaznaczenie.

Wartość zwracana

Typ: System.Boolean

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

ModelElementLocator Klasa

Przeciążenie NavigateTo

Przestrzeń nazw Microsoft.VisualStudio.Modeling.Shell