Click or drag to resize
MimeKit

ParameterListIndexOf(String) Method

Get the index of the requested parameter, if it exists.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public int IndexOf(
	string name
)

Parameters

name  String
The parameter name.

Return Value

Int32
The index of the requested parameter; otherwise

Field Value

Int32
-1.
Exceptions
ExceptionCondition
ArgumentNullExceptionname is null.
Remarks
Finds the index of the parameter with the specified name, if it exists.
See Also