CCeDBProp::SetString
This method sets the value of a string property.
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 SetString( LPWSTR lpwstr, UINT nMode = Copy );
Parameters
- lpwstr
- Long pointer to a string.
- nMode
- Specifies whether to allocate memory to store the passed in string. It is one of the following values:
- CCeDBProp::Copy
- Creates a copy of the string pointed to by the lpwstr parameter. This memory is released when the CCeDBProp object is destroyed.
- CCeDBProp::NoCopy
- The property maintains a pointer to the existing string, passed in the lpwstr parameter, but doesn't own it. The memory is not released when the CCeDBProp object is destroyed.
Return Values
None.
Remarks
You can only call SetString on a property of the type CeDBProp::Type_String.
See Also
CCeDBProp::GetString