Click or drag to resize
MimeKit

ParameterListInsert(Int32, String, String) Method

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

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
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.
Exceptions
ExceptionCondition
ArgumentNullException

name is null.

-or-

value is null.

ArgumentException The name contains illegal characters.
ArgumentOutOfRangeExceptionindex is out of range.
Remarks
Inserts a new parameter with the given name and value at the specified index.
See Also