CCeDBProp::SetSortFlags
This member function sets the sort flags of a sort property.
Syntax
void SetSortFlags( WORD wSortFlags );
At a Glance
Header file: |
Wcedb.h |
Platforms: |
|
Versions: |
2.0 and later |
Parameters
-
wSortFlags
-
The flags that determine the sort order for the database. This parameter can be one of any 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
This member function has no return value.
Remarks
You can pass one or more sort properties to the CCeDBProp::Create function when you create a CCeDBProp database object, in order to specify the sorting orders to use in the database.
See Also
CCeDBProp Overview, CCeDBProp Member Functions, Windows CE Database Classes, CCeDBDatabase::Create, CCeDBProp::GetSortFlags