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

MimeHeaderCollection Class

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

Represents the collection of MimeHeader objects of this MimeEntity.

Syntax
public class MimeHeaderCollection : IEnumerable<MimeHeader>, IEnumerable
Inheritance
Object
MimeHeaderCollection
Implements
IEnumerable<MimeHeader>
IEnumerable
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

Properties

Name Description
Count

Gets the number of headers contained in the MimeHeaderCollection.

Item[Int32]

Gets the MimeHeader at the specified index.

Item[String]

Gets the MimeHeader of the specified name.

SyncRoot

Gets an object that can be used to synchronize access to the MimeHeaderCollection collection.

Methods

Name Description
Add(MimeHeader)

Adds a MimeHeader to the end of the list.

Add(String, String)

Adds a new header to the end of the list.

Clear()

Removes all headers from the list.

GetAllHeaders(String)

Gets all MimeHeader of the specified name.

GetAllHeaderValuesRaw(String)

Gets raw text representations of all headers of the specified name.

GetEnumerator()

Gets an IEnumerator for the MimeHeaderCollection collection.

GetRaw(String)

Gets the raw text representation of the specified header if available.

Insert(Int32, MimeHeader)

Inserts a MimeHeader into the list at the specified index.

Insert(Int32, String, String)

Inserts a headerinto the list at the specified index.

Remove(MimeHeader)

Removes the first occurance of specified MimeHeader from the list.

Remove(String)

Removes all MimeHeaders of the specified name from the list.

RemoveAt(Int32)

Removes the MimeHeader at the specified index from the list.

Explicit Interface Implementations

Name Description
IEnumerable<MimeHeader>.GetEnumerator()

Gets an IEnumerator<T> for the MimeHeaderCollection collection.

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