DataGridViewRowCollection.SharedRow(Int32) メソッド

定義

指定したインデックス位置にある DataGridViewRow を返します。

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

パラメーター

rowIndex
Int32

取得する DataGridViewRow のインデックス。

返品

指定したインデックス位置にある DataGridViewRow

注釈

SharedRow メソッドは、行の共有を解除せずにDataGridViewRowを返します。 共有行を変更すると、その行を共有するすべての行が変更されます。

適用対象

こちらもご覧ください