MessageIdCollection Class
Namespace: Rebex.Mime.Headers
Assembly: Rebex.Mail.dll (version 7.0.9083)
Represents the collection of MessageId objects.
Syntax
public sealed class MessageIdCollection : HeaderValueCollection, ICollection, IHeader, IEnumerable<MessageId>, IEnumerable
Inherited Members
Remarks
Represents the list of msg-id
s defined by RFC 2822.
Constructors
Name | Description |
---|---|
MessageIdCollection() | Initializes a new instance of MessageIdCollection. |
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[Int32] | Gets or sets the MessageId at the specified index. |
SyncRoot | Gets an object that can be used to synchronize access to HeaderValueCollection object. Inherited from HeaderValueCollection. |
Methods
Name | Description |
---|---|
Add(MessageId) | Adds a MessageId to the end of the list. |
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. Inherited from HeaderValueCollection. |
Clear() | Removes all items from the list. Inherited from HeaderValueCollection. |
Clone() | Creates a copy of the header. Inherited from HeaderValueCollection. |
CopyTo(MessageId[], Int32) | Copies the range of elements from the MessageIdCollection to a compatible one-dimensional array, starting at the specified index of the target array. |
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. |
Encode(TextWriter) | Writes an encoded header value into a TextWriter. |
GetEnumerator() | Gets an IEnumerator for the collection. Inherited from HeaderValueCollection. |
RemoveAt(Int32) | Removes the item at the specified index from the list. Inherited from HeaderValueCollection. |
ToString() | Converts the value of this header to its String representation. |
Operators
Name | Description |
---|---|
Implicit(MessageId to MessageIdCollection) | Converts a MessageId to a MessageIdCollection. |
Implicit(String to MessageIdCollection) | Converts a String to a MessageIdCollection. |
Explicit Interface Implementations
Name | Description |
---|---|
IEnumerable<MessageId>.GetEnumerator() | Gets an IEnumerator<T> for the MessageIdCollection collection. |