Share via


Items Object Members

Outlook Developer Reference

Contains a collection of Outlook item objects in a folder.

Methods

  Name Description
Bb176683.methods(en-us,office.12).gif Add Creates a new Outlook item in the Items collection for the folder.
Bb176683.methods(en-us,office.12).gif Find Locates and returns an Outlook item object that satisfies the given Filter.
Bb176683.methods(en-us,office.12).gif FindNext After the Find method runs, this method finds and returns the next Outlook item in the specified collection.
Bb176683.methods(en-us,office.12).gif GetFirst Returns the first object in the collection.
Bb176683.methods(en-us,office.12).gif GetLast Returns the last object in the collection.
Bb176683.methods(en-us,office.12).gif GetNext Returns the next object in the collection.
Bb176683.methods(en-us,office.12).gif GetPrevious Returns the previous object in the collection.
Bb176683.methods(en-us,office.12).gif Item Returns an Outlook item from a collection.
Bb176683.methods(en-us,office.12).gif Remove Removes an object from the collection.
Bb176683.methods(en-us,office.12).gif ResetColumns Clears the properties that have been cached with the SetColumns method.
Bb176683.methods(en-us,office.12).gif Restrict Applies a filter to the Items collection, returning a new collection containing all of the items from the original that match the filter.
Bb176683.methods(en-us,office.12).gif SetColumns Caches certain properties for extremely fast access to those particular properties of an item within the collection.
Bb176683.methods(en-us,office.12).gif Sort Sorts the collection of items by the specified property. The index for the collection is reset to 1 upon completion of this method.

Properties

  Name Description
Bb176683.properties(en-us,office.12).gif Application Returns an Application object that represents the parent Outlook application for the object. Read-only.
Bb176683.properties(en-us,office.12).gif Class Returns an OlObjectClass constant indicating the object's class. Read-only.
Bb176683.properties(en-us,office.12).gif Count Returns a Long indicating the count of objects in the specified collection. Read-only.
Bb176683.properties(en-us,office.12).gif IncludeRecurrences Returns a Boolean that indicates True if the Items collection should include recurrence patterns. Read/write.
Bb176683.properties(en-us,office.12).gif Parent Returns the parent Object of the specified object. Read-only.
Bb176683.properties(en-us,office.12).gif Session Returns the NameSpace object for the current session. Read-only.

Events

  Name Description
Bb176683.events(en-us,office.12).gif ItemAdd Occurs when one or more items are added to the specified collection. This event does not run when a large number of items are added to the folder at once. This event is not available in Microsoft Visual Basic Scripting Edition (VBScript).
Bb176683.events(en-us,office.12).gif ItemChange Occurs when an item in the specified collection is changed. This event is not available in Microsoft Visual Basic Scripting Edition (VBScript).
Bb176683.events(en-us,office.12).gif ItemRemove Occurs when an item is deleted from the specified collection. This event does not run when the last item in a Personal Folders file (.pst) is deleted, or if 16 or more items are deleted at once from a PST file, Microsoft Exchange mailbox, or an Exchange public folder. This event is not available in Microsoft Visual Basic Scripting Edition (VBScript).