DataGridViewCell.DataGridViewCellAccessibleObject.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

Отсчитываемый от нуля индекс дочернего объекта доступности.

Возвращаемое значение

Объект, AccessibleObject представляющий доступный дочерний элемент, соответствующий указанному индексу.

Исключения

Значение Owner свойства — null.

Комментарии

Метод возвращает GetChild только в том случае, если AccessibleObject он DataGridViewCell принадлежит DataGridViewCell.DataGridViewCellAccessibleObject в режиме редактирования и index равен 0.

Применяется к

См. также раздел