Freigeben über


DataGridView.Select(Object) Method

Definition

Selects the DataGridView.

public:
 System::Object ^ Select(System::Object ^ Replace);
public object Select (object Replace);
override this.Select : obj -> obj
Public Function Select (Replace As Object) As Object

Parameters

Replace
Object

true to replace the current selection with the DataGridView; false to extend the current selection to include any previously selected objects and the DataGridView.

Returns

This method returns a null reference (Nothing in Visual Basic); otherwise this method returns true.

Remarks

Optional Parameters

For information on optional parameters, see Optional Parameters in Office Solutions.

Applies to