MailAddressCollection Class
Namespace: Rebex.Mime.Headers
Assembly: Rebex.Mail.dll (version 7.0.9147)
Represents the collection of Mail
Syntax
public sealed class MailAddressCollection : HeaderValueCollection, ICollection, IHeader, IEnumerable<MailAddress>, IEnumerable
Inherited Members
Remarks
Represents the mailbox-list
structured header defined by RFC 2822.
Constructors
Name | Description |
---|---|
Mail |
Initializes a new instance of Mail |
Mail |
Initializes a new instance of Mail |
Properties
Name | Description |
---|---|
Count | Gets the number of items in the collection.
Inherited from Header |
Is |
Gets a value indicating whether access to Header |
Item[Int32] | Gets or sets the Mail |
Sync |
Gets an object that can be used to synchronize access to Header |
Methods
Name | Description |
---|---|
Add(Mail |
Adds a Mail |
Add(String) | Adds an address to the end of the list. |
Add |
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 Header |
Clear() | Removes all items from the list.
Inherited from Header |
Clone() | Creates a copy of the header.
Inherited from Header |
Copy |
Copies the range of elements from the Mail |
Copy |
Copies the range of elements from the Header |
Encode(Text |
Writes an encoded header value into a Text |
Get |
Gets an IEnumerator for the collection.
Inherited from Header |
Remove |
Removes the item at the specified index from the list.
Inherited from Header |
To |
Converts the value of this header to its String representation. |
Operators
Name | Description |
---|---|
Implicit(Mail |
Converts a Mail |
Implicit(String to Mail |
Converts a String to a Mail |
Explicit Interface Implementations
Name | Description |
---|---|
IEnumerable<MailAddress>.GetEnumerator() | Gets an IEnumerator<T> for the Mail |