Message Id ListIndex Of Method
Get the index of the requested Message-Id, if it exists.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
The index of the requested Message-Id; otherwise
-1.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public int IndexOf(
string messageId
)Parameters
- messageId String
- The Message-Id.
Return Value
Int32The index of the requested Message-Id; otherwise
Field Value
Int32-1.
Implements
IListTIndexOf(T)Remarks
Finds the index of the specified Message-Id, if it exists.
Exceptions
| ArgumentNullException | messageId is . |