ParameterListAdd(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(
	string name,
	string value
)

Parameters

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

name is .

-or-

value is .

ArgumentException The name contains illegal characters.

See Also