HeaderListLastIndexOf(String) Method

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

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public int LastIndexOf(
	string field
)

Parameters

field  String
The name of the header field.

Return Value

Int32
The last index of the requested header; otherwise

Field Value

Int32
-1.

Remarks

Finds the last index of the specified header, if it exists.

Exceptions

See Also