Bewerken

Delen via


DataGridView.DataGridViewAccessibleObject.GetSelected Method

Definition

Returns an AccessibleObject that represents the selected cells in the DataGridView control.

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 AccessibleObject that represents the currently selected cells, or null if no cells are selected or if the object itself does not have focus.

Applies to

See also