type Field

type Field

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Indicates the property type in a property schema definition.

Full Name

urn:schemas-microsoft-com:datatypes#type

Content Class

urn:content-classes:propertydef

Named Constant

None

Variant Subtype

[Visual Basic] String

[C++] BSTR

OLE DB Type

DBTYPE_WSTR

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_BYTES*
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

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

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

Example

string

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.