Gives an error if used with type 2 attachments. Some of the objects are collections . For example, each folder has a messages collection. This is a set of message objects. This will create a new message object in the folder s messages collection.
Collections can either be small collections or large collections .
Small collections have an item property that allows you to access each object in the collection directly, like an array. Large collections behave more like tables, requiring the use of GetFirst, GetNext, GetPrevious and GetLast methods to navigate through the collection. The attachments collection contains all the attachment objects belonging to a message. Item Attachment Read Used to access an attachment in the collection by index position. All parameters are optional.