CCeDBProp::SetSortFlags
This method sets the sort flags of a sort property.
At a Glance
Header file: |
Wcedb.h |
Platforms: |
H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: |
2.0 and later |
Syntax
void SetSortFlags( WORD wSortFlags );
Parameters
- wSortFlags
- Flags that determine the sort order for the database. It is one of the following enumerated values:
- CCeDBProp::Sort_Ascending
- The sort is done in ascending order.
- CCeDBProp::Sort_Descending
- The sort is done in descending order.
- CCeDBProp::Sort_CaseInsensitive
- The sort operation is case insensitive. This option is valid only for strings.
- CCeDBProp::Sort_UnknownFirst
- Records that do not contain the property identified by wIdent are placed before all the other records. By default, these records are placed after all other records.
Return Values
None.
Remarks
You can pass one or more sort properties to the CCeDBProp::Create method when you create a CCeDBProp database object, in order to specify the sorting orders to use in the database.
See Also
CCeDBDatabase::Create, CCeDBProp::GetSortFlags