suite4.net.FormDatabase Documentation

IGroupCollection.Sort Method (GroupSortProperty, ListSortDirection)

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

[Visual Basic]
Sub Sort( _
   ByVal sortProperty As GroupSortProperty, _
   ByVal sortDirection As ListSortDirection _
)
[C#]
void Sort(
   GroupSortProperty 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 IGroupCollection for later reuse.

See Also

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