CCeDBProp::SetType

This method sets the data type of a 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 SetType( CCeDBProp::enType nType );

Parameters

nType
Data type of the property. It is one of the following values:
CCeDBProp::Type_Short
A signed short integer.
CCeDBProp::Type_UShort
An unsigned short integer.
CCeDBProp::Type_Long
A signed long integer.
CCeDBProp::Type_ULong
An unsigned long integer.
CCeDBProp::Type_Filetime
A FILETIME structure.
CCeDBProp::Type_String
A null-terminated wide (Unicode) character string (not a CString object).
CCeDBProp::Type_Blob
A CEBLOB structure.

Return Values

None.

Remarks

When you call SetType, any data currently belonging to the property is lost. The new data value is zero or NULL, depending on the data type.

See Also

CCeDBProp::GetType, CEBLOB, FILETIME