Platform SDK: Exchange 2000 Server

type Field

[This is preliminary documentation and subject to change.]

Indicates the property type in a property schema definition.

Full Name

urn:schemas-microsoft-com:datatypes#type

Constant Name

None

OLE DB Type

DBTYPE_WSTR

Variant SubType

[Visual Basic] String

[C++] BSTR

Remarks

Set this property to one of the following values when defining a property through a urn:content-classes:propertydef class item in the store:

XML Type Corresponding OLE DB Type MAPI Property Type
bin.base64 DBTYPE_BYTES1  
bin.hex Not Supported
boolean DBTYPE_BOOL
char DBTYPE_WSTR
date DBTYPE_DATE
dateTime DBTYPE_DATE
dateTime.tz   PT_APPTIME, PT_SYSTIME
fixed.14.4 PT_CURRENCY
float DBTYPE_R8  
i2 DBTYPE_I2
i4 DBTYPE_I4
i8 DBTYPE_I8
int   PT_LONG
number Not Supported  
r4 DBTYPE_R4
r8 DBTYPE_R8
string DBTYPE_WSTR
time Not Supported
time.tz Not Supported
ui1 DBTYPE_UI1
ui2 DBTYPE_UI2
ui4 Not Supported
ui8 Not Supported
uri   PT_CLSID
uuid DBTYPE_GUID  

1. Binary data is encoded using base64 encoding algorithm for HTTP request and retrieval.

These types are used to demarcate the type when the property is transmitted to WebDAV clients.

Example

string