ShapeSubField.NavigateToPrevious Method
Called by this ShapeSubField to set focus to the previous object in the navigation sequence.
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 NavigateToPrevious ( _
parentShape As ShapeElement, _
parentField As ShapeField, _
selection As SelectedShapesCollection _
) As Boolean
public virtual bool NavigateToPrevious(
ShapeElement parentShape,
ShapeField parentField,
SelectedShapesCollection selection
)
public:
virtual bool NavigateToPrevious(
ShapeElement^ parentShape,
ShapeField^ parentField,
SelectedShapesCollection^ selection
)
abstract NavigateToPrevious :
parentShape:ShapeElement *
parentField:ShapeField *
selection:SelectedShapesCollection -> bool
override NavigateToPrevious :
parentShape:ShapeElement *
parentField:ShapeField *
selection:SelectedShapesCollection -> bool
public function NavigateToPrevious(
parentShape : ShapeElement,
parentField : ShapeField,
selection : SelectedShapesCollection
) : boolean
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The parent ShapeElement of this ShapeSubField.
- parentField
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
The parent ShapeField of this ShapeSubField.
- selection
Type: Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection
The current selection whose focus and selection will be updated.
Return Value
Type: System.Boolean
Remarks
If a ShapeElement, ShapeField, or ShapeSubField is not focusable, it does not participate 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.