ShapeElement.FindPreviousChild Method
Searches for the previous child in the navigation sequence for the shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
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.DiagramItem
The child shape from which to start the search.
- focusableRequired
Type: System.Boolean
true to consider the child shape only if it can have focus; otherwise, false.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
The previous child in the navigation sequence for the shape.
.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.