Click or drag to resize
MimeKit

ParameterListAdd Method (Encoding, String, String)

Add a parameter with the specified name and value.

Namespace:  MimeKit
Assembly:  MimeKit (in MimeKit.dll) Version: 3.0.0
Syntax
C#
public void Add(
	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
Adds a new parameter to the list with the specified name and value.
See Also