Overview
Named MAPI properties extend the fixed MAPI property ID space by identifying properties with either a string name or a numeric long ID (LID) scoped to a property set UUID. MapiNamedProperty is a descriptor object — it does not hold a value itself, but serves as a key passed to MapiMessage.set_named_property() and get_named_property(). The well-known property set constants PS_MAPI and PS_PUBLIC_STRINGS are available in the aspose.email_foss.msg module.
Class Methods
| Signature | Description |
|---|
string(name, property_set=PS_PUBLIC_STRINGS) -> MapiNamedProperty | Create a string-named property identifier in the given property set. |
numeric(lid, property_set) -> MapiNamedProperty | Create a numeric LID property identifier in the given property set. |
Key Fields
| Name | Type | Description |
|---|
property_set | uuid.UUID | UUID identifying the property set namespace. |
kind | str | Either "string" or "numeric". |
name | str | None | String name (when kind == "string"). |
lid | int | None | Numeric LID (when kind == "numeric"). |
See Also