ShapeElement.NavigateTo(DiagramItem, SelectedShapesCollection) Method

Definition

Called by the Navigate methods to set the focus to the specified DiagramItem.

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

Parameters

newFocusItem
DiagramItem

The DiagramItem to receive the focus.

selection
SelectedShapesCollection

The selection to update. (The selection maintains the focus.)

Returns

True if navigation occurred, false otherwise.

Applies to