Click or drag to resize
MimeKit

HeaderListIndexOf(Header) Method

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

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public int IndexOf(
	Header header
)

Parameters

header  Header
The header.

Return Value

Int32
The index of the requested header; otherwise

Field Value

Int32
-1.

Implements

IListTIndexOf(T)
Exceptions
ExceptionCondition
ArgumentNullExceptionheader is null.
Remarks
Finds the index of the specified header, if it exists.
See Also