|UidCollectionIndexOf Method |
Returns the zero-based index of the first occurrence of the specified UID in the collection.
MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
public int IndexOf(
Public Function IndexOf (
uid As Long
) As Integer
- Type: SystemInt64
The UID to be searched for.
A zero-based index of the first occurrence of the specified UID in the collection, or -1 if not found.
The collection is zero-based (the first item has the position of 0) but the item values are 1-based (because UIDs in IMAP start from 1).