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: 22.4
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
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetProperty
Gets MAPI property by property descriptor.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove(KeyValuePairInt64, MapiProperty)
Public methodRemove(Int64)
Removes the property with the specified tag from the collection.
Public methodRemove(PropertyDescriptor)
Removes the property with the specified property descriptor from the collection.
Protected methodSetProperty
Sets MAPI property.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValue
Gets the property associated with the specified tag.
See Also