ShapeElement.NavigateTo(DiagramItem, SelectedShapesCollection) Methode

Definition

Wird von den Navigate-Methoden aufgerufen, um den Fokus auf das angegebene Diagramm Element festzulegen.

protected:
 bool NavigateTo(Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ newFocusItem, Microsoft::VisualStudio::Modeling::Diagrams::SelectedShapesCollection ^ selection);
protected bool NavigateTo (Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem newFocusItem, Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection selection);
member this.NavigateTo : Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem * Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection -> bool
Protected Function NavigateTo (newFocusItem As DiagramItem, selection As SelectedShapesCollection) As Boolean

Parameter

newFocusItem
DiagramItem

Das DiagramItem, das den Fokus erhält.

selection
SelectedShapesCollection

Die zu Aktualisier gende Auswahl. (Die Auswahl behält den Fokus.)

Gibt zurück

Boolean

True, wenn die Navigation aufgetreten ist, andernfalls false.

Gilt für