共用方式為


ShapeElement.FindFirstChild(Boolean) Method

Definition

Called by this ShapeElement to get its first descendant in the navigation sequence.

Called by the child ShapeElement or ShapeField to get this shape's first descendant in the navigation sequence.

public:
 Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ FindFirstChild(bool focusableRequired);
public Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem FindFirstChild (bool focusableRequired);
member this.FindFirstChild : bool -> Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
Public Function FindFirstChild (focusableRequired As Boolean) As DiagramItem

Parameters

focusableRequired
Boolean

A value indicating whether the DiagramItem to find must be focusable.

Returns

The first descendant DiagramItem of this ShapeElement.

Remarks

By default, shape fields precede child shapes in the navigation sequence.

Applies to