LumiSoft Mail Server User API
IndexOf Method (message)
Namespaces > LumiSoft.Net.IMAP.Server > IMAP_MessageCollection > IndexOf(IMAP_Message)
Gets index of specified message in the collection.
Syntax

C# | Visual Basic | Managed C++

    public int IndexOf (
    	IMAP_Message message
    )

    Public Function IndexOf ( _
    	message As IMAP_Message _
    ) As Integer

    public:
    int IndexOf (
    	IMAP_Message^ message
    )

Parameters

message (IMAP_Message)
  Message indesx to get.

Return Value
Returns index of specified message in the collection or -1 if message doesn't belong to this collection.

Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)