MapiProperty
概述
MapiProperty 是Python的 Aspose.Email FOSS 的类。.
逻辑MAPI属性与可选名称属性的身份。.
此类提供2种方法,用于在Python程序中使用 MapiProperty 对象。. 可用的方法包括: clear_raw, clone. 所有公共成员都可以在安装Python包的 Aspose.Email FOSS后访问任何 Python应用程序。. 属性: flags, named, preserve_raw, property_id, property_tag, property_type,还有6个。.
属性
| 名称 | 类型 | Access | 描述 |
|---|---|---|---|
property_tag | int | 阅读 | 获取属性标签。. |
property_id | int | 阅读/写作 | 获取或设置属性 id。. |
property_type | int | 阅读/写作 | 获取或设置属性类型。. |
value | Any | 阅读/写作 | 获取或设置该值。. |
flags | int | 阅读/写作 | 获取或设置标志。. |
named | `MapiNamedProperty | None` | 阅读/写作 |
raw_inline_value | `bytes | None` | 阅读/写作 |
raw_size_value | `int | None` | 阅读/写作 |
raw_reserved_value | `int | None` | 阅读/写作 |
raw_direct_stream | `bytes | None` | 阅读/写作 |
raw_indexed_streams | tuple[tuple[int, bytes], ...] | 阅读/写作 | 获取或设置原始索引流。. |
preserve_raw | bool | 阅读/写作 | 获取或设置 preserve raw。. |
方法
| Signature | 描述 |
|---|---|
clone() → "MapiProperty" | 返回新的 MapiProperty 与相同的数据 |
clear_raw() | 删除所有存储的原料二进制代表性财产 |