INetMapiAttachmentCollection.IndexOf

Syntax

IndexOf(Value: INetMapiAttachment): Integer;

Parameters

Value - attachment, which index must be obtained.

Description

The IndexOf method returns the specified attachment index in the collection. If the specified attachment is not present in the collection, the method returns -1.

See also:

INetMapiAttachmentCollection