Прочетете на английски Редактиране

Споделяне чрез


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.

C#
public override System.Windows.Forms.AccessibleObject GetChild(int index);
C#
public override System.Windows.Forms.AccessibleObject? GetChild(int index);

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

Продукт Версии
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10