HeaderListCollection Class

A collection of HeaderList groups.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public class HeaderListCollection : ICollection<HeaderList>, 
	IEnumerable<HeaderList>, IEnumerable
Inheritance
Object    HeaderListCollection
Implements
ICollectionHeaderList, IEnumerableHeaderList, IEnumerable

Remarks

A collection of HeaderList groups used with MessageDeliveryStatus.

Constructors

HeaderListCollection Initialize a new instance of the HeaderListCollection class.

Properties

Count Get the number of groups in the collection.
IsReadOnly Get whether the header list collection is read only.
Item Get or set the HeaderList at the specified index.

Methods

Add Add a group of headers to the collection.
Clear Clear the header list collection.
Contains Check if the collection contains the specified group of headers.
CopyTo Copy all of the header groups in the HeaderListCollection 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 Gets an enumerator for the groups of headers.
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Remove Remove a header group.
ToString Returns a string that represents the current object.
(Inherited from Object)

See Also