MapiProperty
Overview
MapiProperty is a class in Aspose.Email FOSS for Python.
Logical MAPI property with optional named-property identity.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
property_tag | int | Read | Is an integer combining the property ID and type per MAPI spec |
property_id | int | Read | Is the integer identifier of the property without type information |
property_type | int | Read | Is an integer representing the MAPI data type of the property |
value | Any | Read | Holds the high‑level Python value of the property |
flags | int | Read | Is an integer of attribute flags describing the property |
named | MapiNamedProperty | None | Read | Is a MapiNamedProperty for named properties or None if not named |
raw_inline_value | bytes | None | Read | Contains raw inline bytes of the property, or None |
raw_size_value | int | None | Read | Is the size in bytes of the raw value, or None if unknown |
raw_reserved_value | int | None | Read | Holds an optional reserved raw integer, or None |
raw_direct_stream | bytes | None | Read | Contains raw bytes for a direct stream value, or None |
raw_indexed_streams | tuple[tuple[int, bytes], ...] | Read | Is a tuple of (index, bytes) pairs for indexed streams |
preserve_raw | bool | Read | Indicates whether raw data should be retained when modifying the property |
Methods
| Signature | Description |
|---|---|
clone() → "MapiProperty" | Returns a new MapiProperty with the same data |
clear_raw() | Removes any stored raw binary representation of the property |