다음을 통해 공유


type Field

Topic Last Modified: 2006-06-13

Indicates the property type in a property schema definition.

Full Name

urn:schemas-microsoft-com:datatypes#type

Named Constant

None

Variant Subtype

 String

 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