INetAttachmentCollection.IndexOf

Syntax

IndexOf(Value: INetAttachment): Integer;

Parameters

Value - attachment, which index must be obtained.

Description

The IndexOf method returns index of the attachment passed by the Value parameter.

If the attachment is not in the collection, the method returns -1.

See also:

INetAttachmentCollection