MapiPropertyCollection
Overview
MapiPropertyCollection là một lớp trong Aspose.Email FOSS cho Python.
MapiPropertyCollection.set adds or replaces a MapiProperty in the collection and returns it.
Khóa học này cung cấp 6 phương pháp để làm việc với các đối tượng MapiPropertyCollection trong các chương trình Python. Các phương pháp có sẵn bao gồm: __init__, add, get, iter_properties, remove, set. Tất cả các thành viên công cộng đều có thể truy cập bất kỳ ứng dụng Python nào sau khi cài đặt Aspose.Email FOSS cho gói Python.
Methods
| Signature | Description |
|---|---|
__init__() | Calls Intô Trong trường hợp này, [Điều kiện]. |
set(property: MapiProperty) → MapiProperty | Thêm hoặc thay thế một MapiProperty trong bộ sưu tập và trả lại nó |
| `add(property_id: int | CommonMessagePropertyId |
| `get(property_id: int | CommonMessagePropertyId |
| `remove(property_id: int | CommonMessagePropertyId |
iter_properties() → Iterator[MapiProperty] | Trả lại một iterator trên tất cả các đối tượng MapiProperty trong bộ sưu tập |