CCeDBDatabase::GetSortProps

This method retrieves the current sort order of the database.

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 GetSortProps( int *pnSize, CCeDBProp *pSortProps ) const;

Parameters

pnSize
Pointer to an integer. On return, the integer will contain the number of sort properties currently assigned to the database. This will be the number of sort properties in pSortProps.
pSortProps
Pointer to an array of at least CEDB_MAXSORTORDER properties. On return, the array will contain the sort properties currently assigned to the database. The array should be at least CEDB_MAXSORTORDER properties to ensure that all sort properties associated with the database can be accommodated. In MFC for Windows CE 2.10, CEDB_MAXSORTORDER is defined as 4.

Return Values

None.

See Also

CCeDBDatabase::SetSortProps, CCeDBProp