편집

다음을 통해 공유


DataGridViewRowCollection.SharedRow(Int32) Method

Definition

Returns the DataGridViewRow at the specified index.

public:
 System::Windows::Forms::DataGridViewRow ^ SharedRow(int rowIndex);
public System.Windows.Forms.DataGridViewRow SharedRow (int rowIndex);
member this.SharedRow : int -> System.Windows.Forms.DataGridViewRow
Public Function SharedRow (rowIndex As Integer) As DataGridViewRow

Parameters

rowIndex
Int32

The index of the DataGridViewRow to get.

Returns

The DataGridViewRow positioned at the specified index.

Remarks

The SharedRow method returns a DataGridViewRow without unsharing the row. If you modify a shared row, all the rows that share that row will be modified.

Applies to

See also