C# Class LumiSoft.Net.Mime.HeaderFieldParameterCollection

Header field parameters collection.
Inheritance: IEnumerable
Show file Open project: jeske/StepsDB-alpha Class Usage Examples

Public Methods

Method Description
Add ( string parameterName, string parameterValue ) : void

Adds a new header field parameter with specified name and value to the end of the collection.

Clear ( ) : void

Clears the collection of all header field parameters.

Contains ( string parameterName ) : bool

Gets if collection contains specified parameter.

GetEnumerator ( ) : IEnumerator

Gets enumerator.

Remove ( string parameterName ) : void

Removes specified header field parameter from the collection.

this ( string parameterName ) : string

Gets or sets specified parameter value.

Private Methods

Method Description
HeaderFieldParameterCollection ( ParametizedHeaderField headerField ) : System

Default constructor.

Method Details

Add() public method

Adds a new header field parameter with specified name and value to the end of the collection.
public Add ( string parameterName, string parameterValue ) : void
parameterName string Parameter name.
parameterValue string Parameter value.
return void

Clear() public method

Clears the collection of all header field parameters.
public Clear ( ) : void
return void

Contains() public method

Gets if collection contains specified parameter.
public Contains ( string parameterName ) : bool
parameterName string Parameter name.
return bool

GetEnumerator() public method

Gets enumerator.
public GetEnumerator ( ) : IEnumerator
return IEnumerator

Remove() public method

Removes specified header field parameter from the collection.
public Remove ( string parameterName ) : void
parameterName string The name of the header field parameter to remove.
return void

this() public method

Gets or sets specified parameter value.
public this ( string parameterName ) : string
parameterName string
return string