This method adds several properties to the record at the same time.
Header file: | Wcedb.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 2.0 and later |
BOOL AddProps( CCeDBProp* pPropArray, int nNumProps );
TRUE indicates that the operation was successful. FALSE indicates that the properties could not be added.
When you add properties to a record by using the AddProps method, the CCeDBRecord object keeps pointers to the properties you pass in. It does not make copies of the properties themselves. When the record is destroyed, it does not release the memory occupied by the properties you added. By contrast, when you read a record from the object store by calling ReadCurrentRecord, the properties in that record are owned by the record, and are consequently freed when the record is destroyed.
CCeDBProp, CCeDBRecord::AddProp