共用方式為


ShapeField.GetAccessibleChild(ShapeElement, Int32) Method

Definition

Retrieves the accessible child subfield corresponding to the specified index.

public:
 virtual Microsoft::VisualStudio::Modeling::Diagrams::ShapeSubField ^ GetAccessibleChild(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, int index);
public virtual Microsoft.VisualStudio.Modeling.Diagrams.ShapeSubField GetAccessibleChild (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, int index);
abstract member GetAccessibleChild : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * int -> Microsoft.VisualStudio.Modeling.Diagrams.ShapeSubField
override this.GetAccessibleChild : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * int -> Microsoft.VisualStudio.Modeling.Diagrams.ShapeSubField
Public Overridable Function GetAccessibleChild (parentShape As ShapeElement, index As Integer) As ShapeSubField

Parameters

parentShape
ShapeElement

The ShapeElement that contains this ShapeField.

index
Int32

The zero-based index of the accessible child subfield.

Returns

The accessible child subfield corresponding to the specified index.

Applies to