Share via


ShapeSubField.NavigateTo Method

Sets the focus to the specified DiagramItem.

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

Syntax

'Declaration
Public Function NavigateTo ( _
    newFocusItem As DiagramItem, _
    selection As SelectedShapesCollection _
) As Boolean
public bool NavigateTo(
    DiagramItem newFocusItem,
    SelectedShapesCollection selection
)
public:
bool NavigateTo(
    DiagramItem^ newFocusItem, 
    SelectedShapesCollection^ selection
)
member NavigateTo : 
        newFocusItem:DiagramItem * 
        selection:SelectedShapesCollection -> bool
public function NavigateTo(
    newFocusItem : DiagramItem, 
    selection : SelectedShapesCollection
) : boolean

Parameters

Return Value

Type: Boolean

.NET Framework Security

See Also

Reference

ShapeSubField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace