Click or drag to resize
MimeKit

ParameterListAdd(Encoding, String, String) Method

Add a parameter with the specified name and value.

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