MapiPropertyCollection
Overview
MapiPropertyCollection เป็นคลาสใน Aspose.Email FOSS สําหรับ Python.
MapiPropertyCollection.set adds or replaces a MapiProperty in the collection and returns it.
หมวดนี้ให้ 6 วิธีในการทํางานกับวัตถุ MapiPropertyCollection ในโปรแกรม Python. วิธีการที่ใช้ได้แก่: __init__, add, get, iter_properties, remove, set. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Python ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Python.
Methods
| Signature | Description |
|---|---|
__init__() | Calls init การประกอบการ ในตัวอย่างนี้ 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 ของสะสม |