ShapeSubField::NavigateTo Method (DiagramItem^, SelectedShapesCollection^)

 

Sets the focus to the specified DiagramItem.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
bool NavigateTo(
	DiagramItem^ newFocusItem,
	SelectedShapesCollection^ selection
)

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
Return to top
Show: