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

HeaderValueCollection Class

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

Represents the collection of header values.

Syntax
public abstract class HeaderValueCollection : ICollection, IEnumerable, IHeader
Inheritance
Object
HeaderValueCollection
ListCommandUrlCollection
MailAddressCollection
MessageIdCollection
PhraseCollection
Implements
ICollection
IEnumerable
IHeader
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 items in the collection.

IsSynchronized

Gets a value indicating whether access to HeaderValueCollection is synchronized (thread-safe).

SyncRoot

Gets an object that can be used to synchronize access to HeaderValueCollection object.

Methods

Name Description
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.

Clear()

Removes all items from the list.

Clone()

Creates a copy of the header.

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.

Encode(TextWriter)

Writes an encoded header value into a TextWriter.

GetEnumerator()

Gets an IEnumerator for the collection.

RemoveAt(Int32)

Removes the item at the specified index from the list.

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