ShapeElement.NavigateTo(DiagramItem, SelectedShapesCollection) Метод

Определение

Вызывается методами Navigate для установки фокуса на указанный 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

Параметры

newFocusItem
DiagramItem

Элемент DiagramItem, на который будет установлен фокус.

selection
SelectedShapesCollection

Выделение для обновления. (Выделение поддерживает фокус.)

Возвращаемое значение

Boolean

Значение true, если навигация выполнена, и false в противном случае.

Применяется к