ParameterListAdd(Encoding, String, String) Method

Add a parameter with the specified name and value.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
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.

Remarks

Adds a new parameter to the list with the specified name and value.

Exceptions

ArgumentNullException

encoding is .

-or-

name is .

-or-

value is .

ArgumentException name contains illegal characters.

See Also