次の方法で共有


ShapeElement.FindNextInChildFields(ShapeField, Boolean) Method

Definition

Finds the first DiagramItem following the specified ShapeField. The search is confined to this shape's ShapeField collection, including its subfields.

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

Parameters

startFromField
ShapeField

The field from which to start the search. (This field is not included in the search.) If null, the search begins with the first field in the ShapeFields collection.

focusableRequired
Boolean

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

Returns

The first DiagramItem following the specified ShapeField.

Remarks

This method may traverse descendents of the child fields looking for a viable next item.

Applies to