Click or drag to resize
MimeKit

ParameterListInsert Method (Int32, String, String)

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

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

Parameters

index
Type: SystemInt32
The index to insert the parameter.
name
Type: SystemString
The parameter name.
value
Type: SystemString
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