MapiPropertyCollection
Vue de l’ensemble
‘MapiPropertyCollection’ est une collection clé d’objets ‘Popierpropriété’ indexés par le code de propriété et ID. Utilisez ‘Set’ pour ajouter ou remplacer un bien, ‘Add’ à construire et insérer un nouveau, `Get’ afin de récupérer une entrée existante, ‘Remove’ pour la supprimer, et ‘IterProperties’ Pour enumer toutes les propriétés stockées. Accessible via ‘Télécharger des propriétaires’, ‘Match-outils’.
méthodes
| Signature | Description |
|---|---|
Set(property: MapiProperty) | Adds property to the collection, replacing any existing entry with the same property tag. |
Add(propertyId: ushort, propertyType: ushort, value: object?, flags: uint) | Constructs a new MapiProperty and adds it to the collection. |
Get(propertyId: ushort, propertyType: ushort?) | Returns the MapiProperty matching propertyId and optional propertyType, or null if not found. |
Remove(propertyId: ushort, propertyType: ushort?) | Removes the property identified by propertyId and optional propertyType from the collection. |
IterProperties() | Enumerates all MapiProperty entries in the collection. |