Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

MessageIdCollection Class

Namespace: Rebex.Mime.Headers
Assembly: Rebex.Mail.dll (version 7.0.9147)

Represents the collection of MessageId objects.

Syntax
public sealed class MessageIdCollection : HeaderValueCollection, ICollection, IHeader, IEnumerable<MessageId>, IEnumerable
Inheritance
Object
HeaderValueCollection
MessageIdCollection
Implements
ICollection
IHeader
IEnumerable<MessageId>
IEnumerable
Inherited Members
HeaderValueCollection.AddRange(ICollection)
HeaderValueCollection.Clear()
HeaderValueCollection.Clone()
HeaderValueCollection.CopyTo(Array, Int32)
HeaderValueCollection.Count
HeaderValueCollection.GetEnumerator()
HeaderValueCollection.IsSynchronized
HeaderValueCollection.RemoveAt(Int32)
HeaderValueCollection.SyncRoot
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)

Remarks

Represents the list of msg-ids 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.

In This Article
  • Remarks
  • Constructors
  • Properties
  • Methods
  • Operators
  • Explicit Interface Implementations
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies