MailAddressCollection Class

Represents a collection of MailAddress objects.
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelCollectionMailAddress
    Aspose.EmailMailAddressCollection

Namespace:  Aspose.Email
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public class MailAddressCollection : Collection<MailAddress>

The MailAddressCollection type exposes the following members.

Constructors
  NameDescription
Public methodMailAddressCollection
Initializes a new instance of the MailAddressCollection class
Properties
  NameDescription
Public propertyCount (Inherited from CollectionMailAddress.)
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from CollectionMailAddress.)
Protected propertyItems (Inherited from CollectionMailAddress.)
Methods
  NameDescription
Public methodAdd(String)
Add a list of e-mail addresses to the collection.
Public methodAdd(MailAddress)
Add a MailAddress to the collection.
Public methodAddRange(IEnumerableMailAddress)
Adds addresses to collection
Public methodAddRange(MailAddressCollection)
Adds addresses to collection
Public methodClear (Inherited from CollectionMailAddress.)
Protected methodClearItems
Removes all elements from the System.Collections.ObjectModel.Collection`1.
(Overrides CollectionTClearItems.)
Public methodContains (Inherited from CollectionMailAddress.)
Public methodCopy
Copies this instance.
Public methodCopyTo (Inherited from CollectionMailAddress.)
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 (Inherited from CollectionMailAddress.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf (Inherited from CollectionMailAddress.)
Public methodInsert (Inherited from CollectionMailAddress.)
Protected methodInsertItem (Overrides CollectionTInsertItem(Int32, T).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove (Inherited from CollectionMailAddress.)
Public methodRemoveAt (Inherited from CollectionMailAddress.)
Protected methodRemoveItem
Removes the element at the specified index of the System.Collections.ObjectModel.Collection`1.
(Overrides CollectionTRemoveItem(Int32).)
Protected methodSetItem
Replaces the element at the specified index.
(Overrides CollectionTSetItem(Int32, T).)
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Operators
See Also