The MailAddressCollection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MailAddressCollection()()()() |
Initializes a new instance of MailAddressCollection.
| |
MailAddressCollection(String) |
Initializes a new instance of MailAddressCollection filled with the specified list of mailboxes.
|
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()()()().) |
Operators
Name | Description | |
---|---|---|
ImplicitWideningImplicitImplicitImplicit(String to MailAddressCollection) |
Converts a String to a MailAddressCollection.
| |
ImplicitWideningImplicitImplicitImplicit(MailAddress to MailAddressCollection) |
Converts a MailAddress to a MailAddressCollection.
|
Properties
Name | Description | |
---|---|---|
Count |
Gets the number of items in the collection.
(Inherited from HeaderValueCollection.) | |
IsSynchronized |
Gets a value indicating whether access to HeaderValueCollection is synchronized (thread-safe).
(Inherited from HeaderValueCollection.) | |
Item |
Gets or sets the MailAddress at the specified index.
| |
SyncRoot |
Gets an object that can be used to synchronize access to HeaderValueCollection object.
(Inherited from HeaderValueCollection.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerable<(Of <<'(MailAddress>)>>)..::..GetEnumerator |