Click or drag to resize
MimeKit

ParameterListIndexOf Method (String)

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

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

Parameters

name
Type: SystemString
The parameter name.

Return Value

Type: Int32
The index of the requested parameter; otherwise

Field Value

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