DataGridViewSortCompareEventArgs(DataGridViewColumn, Object, Object, Int32, Int32) DataGridViewSortCompareEventArgs(DataGridViewColumn, Object, Object, Int32, Int32) DataGridViewSortCompareEventArgs(DataGridViewColumn, Object, Object, Int32, Int32) Constructor

定義

DataGridViewSortCompareEventArgs クラスの新しいインスタンスを初期化します。Initializes a new instance of the DataGridViewSortCompareEventArgs class.

public:
 DataGridViewSortCompareEventArgs(System::Windows::Forms::DataGridViewColumn ^ dataGridViewColumn, System::Object ^ cellValue1, System::Object ^ cellValue2, int rowIndex1, int rowIndex2);
public DataGridViewSortCompareEventArgs (System.Windows.Forms.DataGridViewColumn dataGridViewColumn, object cellValue1, object cellValue2, int rowIndex1, int rowIndex2);
new System.Windows.Forms.DataGridViewSortCompareEventArgs : System.Windows.Forms.DataGridViewColumn * obj * obj * int * int -> System.Windows.Forms.DataGridViewSortCompareEventArgs

パラメーター

dataGridViewColumn
DataGridViewColumn DataGridViewColumn DataGridViewColumn

並べ替える列。The column to sort.

cellValue1
Object Object Object

比較する最初のセルの値。The value of the first cell to compare.

cellValue2
Object Object Object

比較する 2 番目のセルの値。The value of the second cell to compare.

rowIndex1
Int32 Int32 Int32

最初のセルを含む行のインデックス。The index of the row containing the first cell.

rowIndex2
Int32 Int32 Int32

2 番目のセルを含む行のインデックス。The index of the row containing the second cell.

適用対象

こちらもご覧ください