HeaderValueCollection Class
Namespace: Rebex.Mime.Headers
Assembly: Rebex.Mail.dll (version 7.0.9313)
Represents the collection of header values.
Syntax
public abstract class HeaderValueCollection : ICollection, IEnumerable, IHeader
Inheritance
Inherited Members
Properties
| Name | Description |
|---|---|
| Count | Gets the number of items in the collection. |
| IsSynchronized | Gets a value indicating whether access to HeaderValueCollection is synchronized (thread-safe). |
| SyncRoot | Gets an object that can be used to synchronize access to HeaderValueCollection object. |
Methods
| Name | Description |
|---|---|
| AddRange(ICollection) | 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. |
| Clear() | Removes all items from the list. |
| Clone() | Creates a copy of the header. |
| 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. |
| Encode(TextWriter) | Writes an encoded header value into a TextWriter. |
| GetEnumerator() | Gets an IEnumerator for the collection. |
| RemoveAt(Int32) | Removes the item at the specified index from the list. |