DataGridViewRow::DataGridViewRowAccessibleObject::GetChild Method (Int32)

 

Returns the accessible child corresponding to the specified index.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
virtual AccessibleObject^ GetChild(
	int index
) override

Parameters

index
Type: System::Int32

The zero-based index of the accessible child.

Return Value

Type: System.Windows.Forms::AccessibleObject^

A DataGridViewCell::DataGridViewCellAccessibleObject that represents the DataGridViewCell corresponding to the specified index.

Exception Condition
InvalidOperationException

index is less than 0.

-or-

The value of the Owner property is null.

.NET Framework
Available since 2.0
Return to top
Show: