Parameter ListAdd(String, 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 charset,
string name,
string value
)Parameters
Remarks
Adds a new parameter to the list with the specified name and value.
Exceptions
| ArgumentNullException |
charset is . -or- name is . -or- value is . |
| ArgumentException |
charset cannot be empty. -or- name contains illegal characters. |
| NotSupportedException | charset is not supported. |