DataGridView.DataGridViewTopRowAccessibleObject.GetChild(Int32) メソッド

定義

指定したインデックスに対応する子ユーザー補助オブジェクトを返します。

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

アクセス可能な子の 0 から始まるインデックス。

戻り値

指定したインデックスにある列ヘッダーを表す AccessibleObject

例外

Owner プロパティが設定されていません。

index が 0 未満です。

注釈

列ヘッダーを表す子アクセス可能なオブジェクトの順序は、列の DisplayIndex プロパティに対応します。

適用対象

こちらもご覧ください