ParameterListItem(String) Property

Get or set the value of a parameter with the specified name.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public string? this[
	string name
] { get; set; }

Parameters

name  String
The parameter name.

Property Value

String
The value of the specified parameter if it exists; otherwise .

Remarks

Gets or sets the value of a parameter with the specified name.

Exceptions

ArgumentNullException

name is .

-or-

value is .

ArgumentException The name contains illegal characters.

See Also