Items Collection Object

Description

A collection of Outlook item objects in a folder. Outlook item objects include the AppoinmentItem, ContactItem, JournalItem, MailItem, MeetingRequestItem, NoteItem, PostItem, RemoteItem, ReportItem, TaskItem, and TaskRequestItem objects.

Using the Items Collection

Use the Items property to return the Items collection of a MAPIFolder object.

Use Items(index), where index is the name or index number, to return a single Outlook item. The following example returns the first item with the subject "Need your advice" in myFolder.

Set myItem = myFolder.Items("Need your advice")
The following example returns the first item in myFolder.

Set myItem = myFolder.Items(1)
Properties

Count property, IncludeRecurrences property.

Methods

Add method (Items Object), Find method, FindNext method, Item method, Remove method, Restrict method, Sort method.

See Also

AppointmentItem object, ContactItem object, JournalItem object, MailItem object, MeetingRequestItem object, NoteItem object, PostItem object, RemoteItem object, ReportItem object, TaskItem object, TaskRequestItem object.