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
Inherited Members
Remarks
Represents the list of phrases defined by RFC 2822.
Constructors
Name | Description |
---|---|
Phrase |
Initializes a new instance of Phrase |
Properties
Name | Description |
---|---|
Count | Gets the number of items in the collection.
Inherited from Header |
Is |
Gets a value indicating whether access to Header |
Item[Int32] | Gets or sets the phrase at the specified index. |
Sync |
Gets an object that can be used to synchronize access to Header |
Methods
Name | Description |
---|---|
Add(String) | Adds a phrase to the end of the list. |
Add |
Adds a range of items contained in the specified collection. |
Clear() | Removes all items from the list.
Inherited from Header |
Clone() | Creates a copy of the header.
Inherited from Header |
Copy |
Copies the range of elements from the Header |
Copy |
Copies the range of elements from the Phrase |
Encode(Text |
Writes an encoded header value into a Text |
Get |
Gets an IEnumerator for the collection. |
Remove |
Removes the item at the specified index from the list.
Inherited from Header |
To |
Converts the value of this header to its String representation. |
Operators
Name | Description |
---|---|
Implicit(String to Phrase |
Converts a phrase to a Phrase |
Explicit Interface Implementations
Name | Description |
---|---|
IEnumerable<String>.GetEnumerator() | Gets an IEnumerator<T> for the Phrase |