Edit

Share via


DataGridViewRow.DataGridViewRowAccessibleObject.GetSelected Method

Definition

Gets an accessible object that represents the currently selected DataGridViewCell objects.

public:
 override System::Windows::Forms::AccessibleObject ^ GetSelected();
public override System.Windows.Forms.AccessibleObject GetSelected ();
override this.GetSelected : unit -> System.Windows.Forms.AccessibleObject
Public Overrides Function GetSelected () As AccessibleObject

Returns

An accessible object that represents the currently selected DataGridViewCell objects in the DataGridViewRow.

Exceptions

The value of the Owner property is null.

Applies to

See also