DataGridViewRowCollection.SharedRow(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.