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

PhraseCollection Class

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

Represents the collection of phrases.

Syntax
public sealed class PhraseCollection : HeaderValueCollection, ICollection, IHeader, IEnumerable<string>, IEnumerable
Inheritance
Object
HeaderValueCollection
PhraseCollection
Implements
ICollection
IHeader
IEnumerable<String>
IEnumerable
Inherited Members
HeaderValueCollection.Clear()
HeaderValueCollection.Clone()
HeaderValueCollection.CopyTo(Array, Int32)
HeaderValueCollection.Count
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 phrases defined by RFC 2822.

Constructors

Name Description
PhraseCollection()

Initializes a new instance of PhraseCollection.

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 phrase 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(String)

Adds a phrase to the end of the list.

AddRange(ICollection)

Adds a range of items contained in the specified collection.

Clear()

Removes all items from the list. Inherited from HeaderValueCollection.

Clone()

Creates a copy of the header. Inherited from HeaderValueCollection.

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.

CopyTo(String[], Int32)

Copies the range of elements from the PhraseCollection 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. Inherited from HeaderValueCollection.

ToString()

Converts the value of this header to its String representation.

Operators

Name Description
Implicit(String to PhraseCollection)

Converts a phrase to a PhraseCollection.

Explicit Interface Implementations

Name Description
IEnumerable<String>.GetEnumerator()

Gets an IEnumerator<T> for the PhraseCollection collection.

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