DataGridViewDataErrorEventArgs Constructor

Definition

Initializes a new instance of the DataGridViewDataErrorEventArgs class.

public:
 DataGridViewDataErrorEventArgs(Exception ^ exception, int columnIndex, int rowIndex, System::Windows::Forms::DataGridViewDataErrorContexts context);
public DataGridViewDataErrorEventArgs (Exception exception, int columnIndex, int rowIndex, System.Windows.Forms.DataGridViewDataErrorContexts context);
public DataGridViewDataErrorEventArgs (Exception? exception, int columnIndex, int rowIndex, System.Windows.Forms.DataGridViewDataErrorContexts context);
new System.Windows.Forms.DataGridViewDataErrorEventArgs : Exception * int * int * System.Windows.Forms.DataGridViewDataErrorContexts -> System.Windows.Forms.DataGridViewDataErrorEventArgs
Public Sub New (exception As Exception, columnIndex As Integer, rowIndex As Integer, context As DataGridViewDataErrorContexts)

Parameters

exception
Exception

The exception that occurred.

columnIndex
Int32

The column index of the cell that raised the DataError.

rowIndex
Int32

The row index of the cell that raised the DataError.

context
DataGridViewDataErrorContexts

A bitwise combination of DataGridViewDataErrorContexts values indicating the context in which the error occurred.

Applies to

See also