Click or drag to resize
MimeKit

Parameter Constructor (Encoding, String, String)

Initialize a new instance of the Parameter class.

Namespace:  MimeKit
Assembly:  MimeKit (in MimeKit.dll) Version: 3.0.0
Syntax
C#
public Parameter(
	Encoding encoding,
	string name,
	string value
)

Parameters

encoding
Type: System.TextEncoding
The character encoding.
name
Type: SystemString
The parameter name.
value
Type: SystemString
The parameter value.
Exceptions
ExceptionCondition
ArgumentNullException

encoding is null.

-or-

name is null.

-or-

value is null.

ArgumentExceptionname contains illegal characters.
Remarks
Creates a new parameter with the specified name and value.
See Also