• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class MimeHeaderParameterCollection

A collection of MimeHeaderParameter objects, keyed by parameter name (case-insensitive).

Inheritance
object
MimeHeaderParameterCollection
Implements
IEnumerable<MimeHeaderParameter>
IEnumerable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Mail.Rfc.Mime
Assembly: DRIT.Mail.dll
Syntax
public sealed class MimeHeaderParameterCollection : IEnumerable<MimeHeaderParameter>, IEnumerable

Constructors

View Source

MimeHeaderParameterCollection()

Initializes a new instance of the MimeHeaderParameterCollection class.

Declaration
public MimeHeaderParameterCollection()

Properties

View Source

this[string]

Gets the value of the first parameter with the specified name, or null if not found.

Declaration
public string? this[string name] { get; }
Parameters
Type Name Description
string name
Property Value
Type Description
string

Methods

View Source

Add(MimeHeaderParameter)

Adds a parameter to the collection.

Declaration
public void Add(MimeHeaderParameter parameter)
Parameters
Type Name Description
MimeHeaderParameter parameter

Specifies the parameter value.

View Source

Add(string, string)

Adds a parameter with the specified name and value.

Declaration
public void Add(string name, string value)
Parameters
Type Name Description
string name

Specifies the name value.

string value

The value to process.

View Source

Contains(string)

Determines whether a parameter with the specified name exists.

Declaration
public bool Contains(string name)
Parameters
Type Name Description
string name

Specifies the name value.

Returns
Type Description
bool
View Source

GetEnumerator()

Gets the enumerator.

Declaration
public IEnumerator<MimeHeaderParameter> GetEnumerator()
Returns
Type Description
IEnumerator<MimeHeaderParameter>

Implements

IEnumerable<T>
IEnumerable
  • View Source
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX