편집

다음을 통해 공유


DataGridViewSelectedRowCollection.Item[Int32] Property

Definition

Gets the row at the specified index.

public:
 property System::Windows::Forms::DataGridViewRow ^ default[int] { System::Windows::Forms::DataGridViewRow ^ get(int index); };
public System.Windows.Forms.DataGridViewRow this[int index] { get; }
member this.Item(int) : System.Windows.Forms.DataGridViewRow
Default Public ReadOnly Property Item(index As Integer) As DataGridViewRow

Parameters

Property Value

The DataGridViewRow at the current index.

Exceptions

index is less than 0.

-or-

index is equal to or greater than the number of rows in the collection.

Applies to

See also