ShapeElement.FindFirstChild Method
Searches for the first child in the navigation sequence for the shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Function FindFirstChild ( _
focusableRequired As Boolean _
) As DiagramItem
public DiagramItem FindFirstChild(
bool focusableRequired
)
public:
DiagramItem^ FindFirstChild(
bool focusableRequired
)
member FindFirstChild :
focusableRequired:bool -> DiagramItem
public function FindFirstChild(
focusableRequired : boolean
) : DiagramItem
Parameters
focusableRequired
Type: System.Booleantrue if the child must be able to have focus to be considered; otherwise, false.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
The first child in the navigation sequence for the shape.
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.