ShapeField.FindPreviousChild Method
Locates the previous child shape field in the parent shape field.
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 FindPreviousChild ( _
startFromChildItem As DiagramItem, _
focusableRequired As Boolean _
) As DiagramItem
public DiagramItem FindPreviousChild(
DiagramItem startFromChildItem,
bool focusableRequired
)
public:
DiagramItem^ FindPreviousChild(
DiagramItem^ startFromChildItem,
bool focusableRequired
)
member FindPreviousChild :
startFromChildItem:DiagramItem *
focusableRequired:bool -> DiagramItem
public function FindPreviousChild(
startFromChildItem : DiagramItem,
focusableRequired : boolean
) : DiagramItem
Parameters
startFromChildItem
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemThe child shape field from which the navigation sequence began. If the object is null, the search starts with the first child subfield in the shape field.
focusableRequired
Type: Booleantrue to consider only child shape fields that can receive focus; otherwise, false.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
The previous child in the parent shape field.
.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.