DataGridViewRowCollection.SharedRow(Int32) Metod

Definition

DataGridViewRow Returnerar vid det angivna indexet.

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

Parametrar

rowIndex
Int32

Indexet för att DataGridViewRow hämta.

Returer

Placerad DataGridViewRow vid det angivna indexet.

Kommentarer

Metoden SharedRow returnerar en DataGridViewRow utan att dela upp raden. Om du ändrar en delad rad ändras alla rader som delar raden.

Gäller för

Se även