MapiPropertyCollection
Vue de l’ensemble
‘MapiPropertyCollection’ est une classe dans Aspose.Email FOSS pour Python.
MapiPropertyCollection.set ajoute ou remplacera un MAPIPoperty dans la collection et le retourne.
Cette classe fournit 6 méthodes pour travailler avec les objets MapiPropertyCollection dans les programmes Python. Les méthodologies disponibles comprennent: __init__, add , ‘get,, iter_properties rémoveetset`. Tous les membres publics sont accessibles à n’importe quelle application Pythone après l’installation de la FOSS d’Aspose.Email pour le package Pyathon.
méthodes
| Signature | Description |
|---|---|
__init__() | Calls init on this MapiPropertyCollection instance. |
set(property: MapiProperty) → MapiProperty | Adds or replaces a MapiProperty in the collection and returns it |
| `add(property_id: int | CommonMessagePropertyId |
| `get(property_id: int | CommonMessagePropertyId |
| `remove(property_id: int | CommonMessagePropertyId |
iter_properties() → Iterator[MapiProperty] | Returns an iterator over all MapiProperty objects in the collection |
Voir aussi
- Aspose.Email pour Python — Enterprise API Reference