Click or drag to resize
MimeKit

ParameterListAdd(String, String, String) Method

Add a parameter with the specified name and value.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public void Add(
	string charset,
	string name,
	string value
)

Parameters

charset  String
The character encoding.
name  String
The parameter name.
value  String
The parameter value.
Exceptions
ExceptionCondition
ArgumentNullException

charset is null.

-or-

name is null.

-or-

value is null.

ArgumentException

charset cannot be empty.

-or-

name contains illegal characters.

NotSupportedExceptioncharset is not supported.
Remarks
Adds a new parameter to the list with the specified name and value.
See Also