ImapMessageCollection.IndexOf Method
Namespace: Rebex.Net
Assembly: Rebex.Imap.dll (version 7.0.9313)
IndexOf(ImapMessageInfo)
Returns a zero-based index of the specified item within the ImapMessageCollection, or -1 if not found.
Declaration
public int IndexOf(ImapMessageInfo item)
Parameters
| Type | Name | Description | 
|---|---|---|
| ImapMessageInfo | item | The ImapMessageInfo to locate.  | 
    
Returns
| Type | Description | 
|---|---|
| Int32 | Zero-based index of the specified item within the collection, or -1.  |