Click or drag to resize
MimeKit

HeaderListLastIndexOf(HeaderId) Method

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

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public int LastIndexOf(
	HeaderId id
)

Parameters

id  HeaderId
The header id.

Return Value

Int32
The last index of the requested header; otherwise

Field Value

Int32
-1.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionid is not a valid HeaderId.
Remarks
Finds the last index of the specified header, if it exists.
See Also