ShapeElement.FindPreviousInChildFields Method
Searches for the previous shape field 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 Function FindPreviousInChildFields ( _
startFromField As ShapeField, _
focusableRequired As Boolean _
) As DiagramItem
public DiagramItem FindPreviousInChildFields(
ShapeField startFromField,
bool focusableRequired
)
public:
DiagramItem^ FindPreviousInChildFields(
ShapeField^ startFromField,
bool focusableRequired
)
member FindPreviousInChildFields :
startFromField:ShapeField *
focusableRequired:bool -> DiagramItem
public function FindPreviousInChildFields(
startFromField : ShapeField,
focusableRequired : boolean
) : DiagramItem
Parameters
- startFromField
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
The shape field from which to start the search.
- focusableRequired
Type: System.Boolean
true to consider the shape field only if it can have focus; otherwise, false.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
The previous shape field in the navigation sequence.
Remarks
This method may traverse descendents of the child fields looking for a viable previous item.
.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.