Click or drag to resize
MimeKit

Parameter(Encoding, String, String) Constructor

Initialize a new instance of the Parameter class.

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

Parameters

encoding  Encoding
The character encoding.
name  String
The parameter name.
value  String
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