DomainUpDown.DomainUpDownAccessibleObject.GetChild(Int32) 方法

定義

取得與指定索引相對應的可存取子系。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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

參數

index
Int32

可存取子系的以零起始的索引。

傳回

AccessibleObject,代表與指定索引相對應的可存取子系。

備註

DomainUpDown.DomainUpDownAccessibleObject包含對應至控制項不同部分的 DomainUpDown 子可存取物件。 下表顯示方法所傳回之索引和子可存取物件的 GetChild 值。

描述
0 文字方塊的可存取物件
1 向上和向下按鈕的可存取物件。
2 控制項之 Items 屬性的 DomainUpDown 可存取物件。

適用於