suite4.net.FormDatabase Documentation

ITaskCollection.Sort Method (TaskSortProperty, ListSortDirection)

Sorts the elements in the ITaskCollection using the specified SortProperty and SortDirection values.

[Visual Basic]
Sub Sort( _
   ByVal sortProperty As TaskSortProperty, _
   ByVal sortDirection As ListSortDirection _
)
[C#]
void Sort(
   TaskSortProperty sortProperty,
   ListSortDirection sortDirection
);

Parameters

sortProperty
The SortProperty the collection is to be sorted by.
sortDirection
The SortDirection the collection is to be sorted in.

Remarks

Both the sortProperty and the sortDirection values are stored in the ITaskCollection for later reuse.

See Also

ITaskCollection Interface | suite4.net.FormDatabase Namespace | ITaskCollection.Sort Overload List