Parameter ListAdd(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
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public void Add(
string name,
string value
)Parameters
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. |