ShapeField.NavigateAscend Method
Moves the focus to the previous shape field in the navigation sequence for the selected shapes.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
‘선언
Public Overridable Function NavigateAscend ( _
parentShape As ShapeElement, _
selection As SelectedShapesCollection _
) As Boolean
public virtual bool NavigateAscend(
ShapeElement parentShape,
SelectedShapesCollection selection
)
public:
virtual bool NavigateAscend(
ShapeElement^ parentShape,
SelectedShapesCollection^ selection
)
abstract NavigateAscend :
parentShape:ShapeElement *
selection:SelectedShapesCollection -> bool
override NavigateAscend :
parentShape:ShapeElement *
selection:SelectedShapesCollection -> bool
public function NavigateAscend(
parentShape : ShapeElement,
selection : SelectedShapesCollection
) : boolean
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The shape element to which the shape field is assigned.
- selection
Type: Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection
The group of shapes that are selected and can be navigated.
Return Value
Type: System.Boolean
true if the focus moves to the previous shape in the navigation sequence; otherwise, false.
Remarks
By default, shape fields precede child shapes in the navigation sequence.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.