Click or drag to resize
MimeKit

MessageIdListIndexOf Method

Get the index of the requested Message-Id, if it exists.

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

Parameters

messageId  String
The Message-Id.

Return Value

Int32
The index of the requested Message-Id; otherwise

Field Value

Int32
-1.

Implements

IListTIndexOf(T)
Exceptions
ExceptionCondition
ArgumentNullExceptionmessageId is null.
Remarks
Finds the index of the specified Message-Id, if it exists.
See Also