MapiPropertyCollection Class

Represents the collection of MapiProperty items.
Inheritance Hierarchy
SystemObject
  Aspose.Email.MapiMapiPropertyCollection

Namespace:  Aspose.Email.Mapi
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
[SerializableAttribute]
public class MapiPropertyCollection : IDictionary<long, MapiProperty>, 
	ICollection<KeyValuePair<long, MapiProperty>>, IEnumerable<KeyValuePair<long, MapiProperty>>, 
	IEnumerable, INamedPropertyTagProvider

The MapiPropertyCollection type exposes the following members.

Constructors
  NameDescription
Public methodMapiPropertyCollection
Creates a new instance of class MapiProperty.
Properties
  NameDescription
Public propertyCount
Gets the number of elements contained in the collection.
Public propertyIsReadOnly
Gets a value indicating whether the collection is read only.
Public propertyItemInt64
Gets or sets the value associated with the specified key.
Public propertyItemPropertyDescriptor
Gets or sets the value associated with the specified key.
Public propertyKeys
Gets a System.Collections.Generic.ICollection<long> containing the keys in the collection.
Public propertyValues
Gets an System.Collections.Generic.ICollection<MapiProperty> containing the values in the collection.
Methods
  NameDescription
Public methodAdd(KeyValuePairInt64, MapiProperty)
Public methodAdd(MapiProperty)
Adds a MapiProperty item with specified tag.
Public methodAdd(Int64, MapiProperty)
Adds a MapiProperty item with specified tag.
Public methodClear
Removes all of the elements from the collection.
Public methodContains
Public methodContainsKey
Determines whether the collection contains a property with the specified tag.
Public methodCopyTo
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumerator
Public methodGetHashCode (Inherited from Object.)
Public methodGetProperty
Gets MAPI property by property descriptor.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemove(KeyValuePairInt64, MapiProperty)
Public methodRemove(Int64)
Removes the property with the specified tag from the collection.
Protected methodSetProperty
Sets MAPI property.
Public methodToString (Inherited from Object.)
Public methodTryGetValue
Gets the property associated with the specified tag.
See Also