MapiPropertyCollection
Overview
MapiPropertyCollection 是Python的Aspose.Email FOSS中的一个类.
MapiPropertyCollection.set adds or replaces a MapiProperty in the collection and returns it.
这个类提供了6种方法,用于在Python程序中使用MapiPropertyCollection 对象. 有的方法包括: __init__, add, get, iter_properties, remove, set. 在安装Python包的Aspose.Email FOSS后,所有公众成员都可以访问任何 Python 应用程序.
Methods
| Signature | Description |
|---|---|
__init__() | Calls 开始 在这个 MapiPropertyCollection 实例上. |
set(property: MapiProperty) → MapiProperty | 在集合中添加或更换一个 MapiProperty ,并返回它. |
| `add(property_id: int | CommonMessagePropertyId |
| `get(property_id: int | CommonMessagePropertyId |
| `remove(property_id: int | CommonMessagePropertyId |
iter_properties() → Iterator[MapiProperty] | 返回集合中的所有 MapiProperty 对象的代器. |