共用方式為


ShapeField.FindLastChild(ShapeElement, Boolean) Method

Definition

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

public:
 Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ FindLastChild(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, bool focusableRequired);
public Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem FindLastChild (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, bool focusableRequired);
member this.FindLastChild : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * bool -> Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
Public Function FindLastChild (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 last subfield in the navigation sequence.

Applies to