CCeDBEnum::Next

This member function retrieves the next CCeDBDatabase object in the enumeration. This function returns NULL if no more databases are found.

Syntax

CEOID Next ( );

At a Glance

Header file: Wcedb.h
Platforms:
Versions: 2.0 and later

Return Values

The object identifier (CEOID) of the next database in the object store.

Remarks

If the CCeDBEnum object is constructed with an application-defined identifier other than 0, Next will only enumerate the databases with the specified identifier. Otherwise, it will enumerate all the databases in the object store.

Repeated calls to Next will return the CEOIDs of the databases being enumerated. Enumeration ends when either Next returns NULL or the CCeDBEnum object is destroyed.

See Also

CCeDBEnum Overview, CCeDBEnum Member Functions, Windows CE Database Support, CEOID