Item Method

Item Method

         Example         Applies To

Returns an object from a collection. The following table shows the collections supported and the object type returned.

Collection Object Returned
Actions Action
AddressEntries AddressEntry
AddressLists AddressList
Attachments Attachment
Exceptions Exception
Explorers Explorer
Folders MAPIFolder
Inspectors Inspector
Items Outlook item
Links Link
OutlookBarGroups OutlookBarGroup
OutlookBarShortcuts OutlookBarShortcut
Pages Page
Panes Pane
PropertyPages PropertyPage
Selection Outlook item
SyncObjects SyncObject
Recipients Recipient
UserProperties UserProperty

Syntax

object.Item(Index)

object    Required. An expression that returns a valid collection object.

Index   Required Variant. Either the index number of the object, or a value used to match the default property of an object in the collection.