MessageIdList Class

A list of Message-Ids.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public class MessageIdList : IList<string>, 
	ICollection<string>, IEnumerable<string>, IEnumerable
Inheritance
Object    MessageIdList
Implements
ICollectionString, IEnumerableString, IListString, IEnumerable

Remarks

Used by the References property.

Constructors

MessageIdList Initialize a new instance of the MessageIdList class.

Properties

Count Get the number of Message-Ids in the MessageIdList.
IsReadOnly Get a value indicating whether the MessageIdList is read only.
Item Get or set the Message-Id at the specified index.

Methods

Add Add a Message-Id.
AddRange Add a collection of Message-Ids.
Clear Clear the Message-Id list.
Clone Clone the MessageIdList.
Contains Check if the MessageIdList contains the specified Message-Id.
CopyTo Copy all of the Message-Ids in the MessageIdList to the specified array.
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetEnumerator Get an enumerator for the list of Message-Ids.
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
IndexOf Get the index of the requested Message-Id, if it exists.
Insert Insert a Message-Id at the specified index.
MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Remove Remove a Message-Id from the MessageIdList.
RemoveAt Remove the Message-Id at the specified index.
ToString Serialize a MessageIdList to a string.
(Overrides ObjectToString)

See Also

Reference