| Item Method | |
| See Also |
- Index
specifies the index value of the item (starts from 0).
Retrieves an existing attachment item from the Attachments object.
| Visual Basic |
|---|
Public Function Item( _
   ByVal Index As Variant _
) As Attachment |
- Index
specifies the index value of the item (starts from 0).
The Item method returns an Attachment object, or nothing if failed.
You can use the Add method to add a new Attachment object to the Attachments collection, and then use the Item method to reference the attachment object by its index value.
Attachments Collection  | Attachment Object  | FileName Property  | Add Method