Enum MapiPropertyType

MapiPropertyType enumeration

Defines the data types of MAPI properties: the low-order 16 bits of a property tag.

public enum MapiPropertyType

Values

NameValueDescription
None0Not set.
PT_SHORT2A signed 16-bit integer. The same as PT_I2 and the OLE type VT_I2.
PT_LONG3Signed or unsigned 32-bit integer. This property type is the same as PT_I4 and the OLE type VT_I4.
PT_ERROR10SCODE value; 32-bit unsigned integer. This property type is the same as the OLE type VT_ERROR.
PT_BOOLEAN1116-bit Boolean value where zero equals FALSE and non-zero equals TRUE. This property type is the same as the OLE type VT_BOOL.
PT_OBJECT13Pointer to an object that implements the IUnknown interface. This property type is similar to several OLE types such as VT_UNKNOWN.
PT_LONGLONG20Signed or unsigned 64-bit integer. This property type is the same as PT_I8 and the OLE type VT_I8.
PT_STRING830Null-terminated 8-bit character string. This property type is the same as the OLE type VT_LPSTR.
PT_UNICODE31A null-terminated Unicode (UTF-16LE) string.
PT_SYSTIME6464-bit integer data and time value in the form of a FILETIME structure. This property type is the same as the OLE type VT_FILETIME.
PT_CLSID72CLSID structure value. This property type is the same as the OLE type VT_CLSID.
PT_SRESTRICTION253A restriction: the criteria of a search.
PT_ACTIONS254The actions of a rule.
PT_BINARY258SBinary structure value, a counted byte array.
PT_MV_xxx4096The flag that makes any type multi-valued, combined with that type.
PT_MV_STRING84126A count field followed by that many PT_STRING8 values.
PT_MV_UNICODE4127A count field followed by that many PT_UNICODE values.
PT_MV_BINARY4354A count field followed by that many PT_BINARY values.
PT_DOUBLE5A 64-bit floating point number.
PT_FLOAT4A 32-bit floating point number.
PT_MV_FLOAT4100A count field followed by that many PT_FLOAT values.
PT_MV_DOUBLE4101A count field followed by that many PT_DOUBLE values.
PT_MV_CURRENCY4102A count field followed by that many PT_CURRENCY values.
PT_MV_APPTIME4103A count field followed by that many PtypFloatingTime values.
PT_MV_LONGLONG4116A count field followed by that many PT_LONGLONG values.
PT_MV_CLSID4168A count field followed by that many PT_CLSID values.
PT_MV_SHORT4098A count field followed by that many PT_SHORT values.
PT_MV_SYSTIME4160A count field followed by that many PT_SYSTIME values.
PT_MV_BOOLEAN4107A count field followed by that many PT_BOOLEAN values.
PT_SVREID251Variable size, a 16-bit (2-byte) count followed by a structure.
PT_UNSPECIFIED0Indicates that the property type is unknown.
PT_NULL1Indicates no property value.
PT_MV_LONG4099A count field followed by that many PT_LONG values.

See Also