Returns a zero-based index of the specified item within the ImapMessageCollection, or -1 if not found.

Namespace:  Rebex.Net
Assembly:  Rebex.Imap (in Rebex.Imap.dll)

Syntax

Visual Basic
Public Function IndexOf ( _
	item As ImapMessageInfo _
) As Integer
C#
public int IndexOf(
	ImapMessageInfo item
)

Parameters

item
Type: Rebex.Net..::..ImapMessageInfo
The ImapMessageInfo to locate.

Return Value

Zero-based index of the specified item within the collection, or -1.

Implements

IList<(Of <(<'T>)>)>..::..IndexOf(T)

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also