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: 20.3
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 (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 (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumerator (Inherited from CollectionMailAddress.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodIndexOf (Inherited from CollectionMailAddress.)
Public methodInsert (Inherited from CollectionMailAddress.)
Protected methodInsertItem (Overrides CollectionTInsertItem(Int32, T).)
Protected methodMemberwiseClone (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