ShapeSubField::NavigateTo Method (DiagramItem^, SelectedShapesCollection^)
Visual Studio 2015
Sets the focus to the specified DiagramItem.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Parameters
- newFocusItem
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::DiagramItem^
The DiagramItem to receive the focus.
- selection
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::SelectedShapesCollection^
The selection to update. (The selection maintains the focus.)
Return Value
Type: System::Boolean
Show: