ParameterListIndexOf(String) Method

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

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
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.

Remarks

Finds the index of the parameter with the specified name, if it exists.

Exceptions

See Also