Edytuj

Udostępnij za pośrednictwem


DataGridViewCell.DataGridViewCellAccessibleObject.GetChild(Int32) Method

Definition

Returns the accessible object corresponding to the specified index.

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 child accessible object.

Returns

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

Exceptions

The value of the Owner property is null.

Remarks

The GetChild method returns an AccessibleObject only if the DataGridViewCell that owns the DataGridViewCell.DataGridViewCellAccessibleObject is in edit mode and index is 0.

Applies to

See also