INetAttachmentCollection.IndexOf

Syntax

IndexOf(Value: INetAttachment): Integer;

Parameters

Value is the attachment index of which needs to be received.

Description

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

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

See also:

INetAttachmentCollection