Creates a new object with the Error event arguments.
Syntax
'Declaration
Public Function New( _
ByVal As SpreadView, _
ByVal As Boolean, _
ByVal As EditError, _
ByVal As Integer, _
ByVal column As Integer, _
ByVal As String, _
ByVal As Exception _
)
'Usage
Dim view As SpreadView
Dim isEditError As Boolean
Dim editError As EditError
Dim row As Integer
Dim column As Integer
Dim errorMessage As String
Dim exception As Exception
Dim instance As New ErrorEventArgs(view, isEditError, editError, row, column, errorMessage, exception)
Parameters
- view
- View that contains the cell with the editor that raised the event
- isEditError
- Whether the error occured in the editing of the control
- editError
- Type of edit error
- row
- Row index of the cell with the editor that raised the event
- column
- Column index of the cell with the editor that raised the event
- errorMessage
- Text describing the error
- exception
- Exception being thrown
See Also