PySPropValue Object

A MAPI property value. Property values can either be passed from python into MAPI functions, or returned from MAPI functions to Python.

Parameters

propType : ULONG

The type of the MAPI property

value : object

The property value

Comments

The parameters can be one of the following pairs of values.

propType value
PT_I2An integer case PT_SHORT:
PT_MV_I2A sequence of integers
PT_I4An integer case PT_LONG:
PT_MV_I4A sequence of integers
PT_R4A float case PT_FLOAT:
PT_MV_R4A sequence of floats
PT_R8A float case PT_DOUBLE:
PT_MV_R8A sequence of floats
PT_BOOLEANA boolean value (or an int)
PT_APPTIMEA PyTime object
PT_MV_APPTIMEAn sequence of PyTime object
PT_SYSTIMEA PyTime object
PT_MV_APPTIMEAn sequence of PyTime object
PT_STRING8A string or PyUnicode
PT_STRING8A sequence of string or PyUnicode objects.
PT_UNICODEA string or PyUnicode
PT_MV_UNICODEA sequence of string or PyUnicode
PT_BINARYA string containing binary data
PT_MV_BINARYA sequence of strings containing binary data
PT_CLSIDA PyIID
PT_MV_CLSIDA sequence of PyIID objects
PT_I8A PyLARGE_INTEGER
PT_MV_I8A sequence of PyLARGE_INTEGER
PT_ERRORAn integer error code.
PT_NULLAnything!