CCeDBProp::GetSortFlags
This member function retrieves the sort flags of a sort property.
Syntax
WORD GetSortFlags( ) const;
At a Glance
Header file: |
Wcedb.h |
Platforms: |
|
Versions: |
2.0 and later |
Return Values
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 sensitive. This value 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.
-
CCeDBProp::Sort_GenericOrder
-
This flag indicates the sort property is only a placeholder. If a CCeDBDatabase object has no sort properties assigned to it, CCeDBProp::Sort_GenericOrder is assigned as the default sort flag.
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::SetSortFlags