INetMailAddressCollection.IndexOf

Syntax

IndexOf(Value: INetMailAddress): Integer;

Parameters

Value is the email address index of which needs to be received.

Description

The IndexOf method returns the index of the email address that is passed by the Value parameter.

If the email address is not present in the collection, the method returns -1.

See also:

INetMailAddressCollection