'Declaration Overloads Function Add( _ ByVal key As IRange, _ 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 IRange 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( IRange 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.