CCeDBProp::SetType

This member function sets the data type of a property.

Syntax

void SetType( CCeDBProp::enType nType );

At a Glance

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

Parameters

nType
The data type of the property. This parameter can have 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

This member function has no return value.

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 Overview, CCeDBProp Member Functions, Windows CE Database Classes, CCeDBProp::GetType, CEBLOB, FILETIME