Items

Returns an attachment in the form of an Attachment object.

Property value

Integer. The index of the attachment.

Examples
Copy
for (i = 0; i < Attachments.Count; i++)
{
    AttItem = Attachments.Items(i);
    //  Insert code to perform action here.
}

Stores each attachment in the AttItem variable, and then performs the specified action on the attachment.