다음을 통해 공유


ShapeField.FindFirstChild(ShapeElement, Boolean) Method

Definition

Called by this ShapeField to get its first child subfield in the navigation sequence.

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

Parameters

parentShape
ShapeElement

The parent ShapeElement for this ShapeField.

focusableRequired
Boolean

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

Returns

The first child subfield in the navigation sequence.

Applies to