The MailAddressCollection type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Add(String) |
Adds an address to the end of the list.
| |
| Add(MailAddress) |
Adds a MailAddress to the end of the list.
| |
| AddRange |
Adds a range of items contained in the specified collection.
The type of items being added has to correspond to the type of collection being updated.
(Inherited from HeaderValueCollection.) | |
| Clear |
Removes all items from the list.
(Inherited from HeaderValueCollection.) | |
| Clone |
Creates a copy of the header.
(Inherited from HeaderValueCollection.) | |
| CopyTo(Array, Int32) |
Copies the range of elements from the HeaderValueCollection to a compatible one-dimensional
Array, starting at the specified index of the target array.
(Inherited from HeaderValueCollection.) | |
| CopyTo(array<MailAddress>[]()[][], Int32) |
Copies the range of elements from the MailAddressCollection to a compatible one-dimensional
array, starting at the specified index of the target array.
| |
| Encode |
Writes an encoded header value into a TextWriter.
(Overrides HeaderValueCollection..::..Encode(TextWriter).) | |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetEnumerator |
Gets an IEnumerator for the collection.
(Inherited from HeaderValueCollection.) | |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| RemoveAt |
Removes the item at the specified index from the list.
(Inherited from HeaderValueCollection.) | |
| ToString |
Converts the value of this header to its String representation.
(Overrides Object..::..ToString()()()().) |
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| IEnumerable<(Of <<'(MailAddress>)>>)..::..GetEnumerator |