'Declaration Overloads Function Add( _ ByVal key As Integer, _ Optional ByVal sortOn As SortOn, _ Optional ByVal order As SortOrder, _ Optional ByVal dataOption As SortDataOption _ ) As ISortField
'Usage Dim instance As ISortFields Dim key As Integer Dim sortOn As SortOn Dim order As SortOrder Dim dataOption As SortDataOption Dim value As ISortField value = instance.Add(key, sortOn, order, dataOption)
ISortField Add( int key, SortOn sortOn, SortOrder order, SortDataOption dataOption )
Parameters
- key
- Specifies a key value for the sort.
- sortOn
- The field to sort on.
- order
- Specifies the sort order.
- dataOption
- Specifies the data option.
Return Value
The new created ISortField object.