
## MapiPropertyCollection class

Represents the collection of MapiProperty items.

The MapiPropertyCollection type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
|MapiPropertyCollection()|Creates a new instance of class MapiProperty.|
## Properties
| Name | Description |
| :- | :- |
|keys|Gets a System.Collections.Generic.ICollection<long> containing the keys in the collection.|
|values|Gets an System.Collections.Generic.ICollection<MapiProperty> containing the values in the collection.|
|count|Gets the number of elements contained in the collection.|
|is_read_only|Gets a value indicating whether the collection is read only.|
## Indexer
| Name | Description |
| :- | :- |
|[index]|Gets or sets the value associated with the specified key.|
## Methods
| Name | Description |
| :- | :- |
|get_property(tag)|  |
|get_property(pd)|  |
|add(key, value)|  |
|add(value)|  |
|remove(key)|  |
|remove(pd)|  |
|generate_named_property_tag(data_type)|  |
|generate_named_property_tag(data_type)|  |
|generate_named_property_tag(data_type)|  |
|get_tag_from_named_property(l_id)|  |
|get_tag_from_named_property(name)|  |
|contains_key(key)|  |
|try_get_value(key, value)|  |
|clear()|  |

### See Also

* namespace [aspose.email.mapi](/email/python-net/aspose.email.mapi/)
* assembly [Aspose.Email](/email/python-net/)

