Attachments object methods

The following list summarizes the Attachments object methods:

Method name
Description
Add
Adds an Attachment object to the collection.
AddAttachment
Adds an Attachment object to the collection.
Delete
Deletes an attached file from the collection.
Exists
Checks if a file with the given name has already been attached.
Item
Returns the specified item in the collection.
ItemByName
(Perl only) Returns the specified item in the collection.
Note: For Perl methods that map to Visual Basic Properties, see the Properties section of this object.

The following list summarizes additional Perl Attachments object methods:

Method name Access Description
Count Read-only Returns the number of items in the collection.