ParameterListInsert(Int32, String, String) Method

Insert a parameter with the specified name and value at the given index.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public void Insert(
	int index,
	string name,
	string value
)

Parameters

index  Int32
The index to insert the parameter.
name  String
The parameter name.
value  String
The parameter value.

Remarks

Inserts a new parameter with the given name and value at the specified index.

Exceptions

ArgumentNullException

name is .

-or-

value is .

ArgumentException The name contains illegal characters.
ArgumentOutOfRangeException index is out of range.

See Also