MapiPropertyCollection
Genel Bakış
MapiPropertyCollection Python için FOSS’de bir sınıf.
MapiPropertyCollection.set, koleksiyondaki bir MapiProperty’i ekler veya değiştirir ve geri gönderir.
Bu sınıf, Python programlarında MapiPropertyCollection nesnelerle çalışmak için 6 yöntem sağlar. Kullanılabilir yöntemler şunlardır: __init__, add, get, iter_properties, remove, set. Python için FOSS paketini yükledikten sonra tüm kamu üyeleri herhangi bir Python uygulamasına erişilebilir.
Yöntemler
| Signature | Açıklama: |
|---|---|
__init__() | Calls init (başlangıç) Bu MapiPropertyCollection örneğinde. |
set(property: MapiProperty) → MapiProperty | Koleksiyonda bir MapiProperty ekler veya değiştirir ve geri gönderir |
| `add(property_id: int | CommonMessagePropertyId |
| `get(property_id: int | CommonMessagePropertyId |
| `remove(property_id: int | CommonMessagePropertyId |
iter_properties() → Iterator[MapiProperty] | Koleksiyonun tüm MapiProperty nesnelerinin üzerinde bir iteratör gönderir. |