SortedEventArgs Constructor
In This Topic
Creates a new object with the Sorted event arguments.
Syntax
'Declaration
Public Function New( _
ByVal As SheetView, _
ByVal As Integer, _
ByVal column As Integer, _
ByVal As Integer, _
ByVal columnCount As Integer, _
ByVal () As SortArgs, _
ByVal As SortingMode, _
ByVal As Boolean _
)
'Usage
Dim sheetView As SheetView
Dim row As Integer
Dim column As Integer
Dim rowCount As Integer
Dim columnCount As Integer
Dim sortInfo() As SortArgs
Dim sortingMode As SortingMode
Dim byRows As Boolean
Dim instance As New SortedEventArgs(sheetView, row, column, rowCount, columnCount, sortInfo, sortingMode, byRows)
Parameters
- sheetView
- Sheet (SheetView object) to be sorted
- row
- Index of the starting row of the block of cells to sort
- column
- Index of the starting column of the block of cells to sort
- rowCount
- Number of rows in the block of cells
- columnCount
- Number of columns in the block of cells
- sortInfo
- Array of SortArgs objects that contain sort criteria and information about how to perform the sort.
- sortingMode
- The SortingMode setting that specifies sorting behavior
- byRows
- Whether to sort by rows (or columns)
See Also