Edit

Share via


DomainUpDown.DomainUpDownAccessibleObject.GetChild(Int32) Method

Definition

Gets the accessible child corresponding to the specified index.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 override System::Windows::Forms::AccessibleObject ^ GetChild(int index);
public override System.Windows.Forms.AccessibleObject GetChild (int index);
public override System.Windows.Forms.AccessibleObject? GetChild (int index);
override this.GetChild : int -> System.Windows.Forms.AccessibleObject
Public Overrides Function GetChild (index As Integer) As AccessibleObject

Parameters

index
Int32

The zero-based index of the accessible child.

Returns

An AccessibleObject that represents the accessible child corresponding to the specified index.

Remarks

The DomainUpDown.DomainUpDownAccessibleObject contains child accessible objects that correspond to the different parts of the DomainUpDown control. The following table shows the values of index and the child accessible object the GetChild method returns.

Value Description
0 An accessible object for the text box
1 An accessible object for the up and down buttons.
2 An accessible object for the Items property of the DomainUpDown control.

Applies to