Results Object Members

Outlook Developer Reference

Contains data and results returned by the Search object and the AdvancedSearch method.

Methods

  Name Description
Bb176770.methods(en-us,office.12).gif GetFirst Returns the first object in the collection.
Bb176770.methods(en-us,office.12).gif GetLast Returns the last object in the collection.
Bb176770.methods(en-us,office.12).gif GetNext Returns the next object in the collection.
Bb176770.methods(en-us,office.12).gif GetPrevious Returns the previous object in the collection.
Bb176770.methods(en-us,office.12).gif Item Returns an Outlook item from a collection.
Bb176770.methods(en-us,office.12).gif ResetColumns Clears the properties that have been cached with the SetColumns method.
Bb176770.methods(en-us,office.12).gif SetColumns Caches certain properties for extremely fast access to those particular properties of an item within the collection.
Bb176770.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
Bb176770.properties(en-us,office.12).gif Application Returns an Application object that represents the parent Outlook application for the object. Read-only.
Bb176770.properties(en-us,office.12).gif Class Returns an OlObjectClass constant indicating the object's class. Read-only.
Bb176770.properties(en-us,office.12).gif Count Returns a Long indicating the count of objects in the specified collection. Read-only.
Bb176770.properties(en-us,office.12).gif DefaultItemType Returns an OlItemType constant indicating the default Outlook item type contained in the folder. Read/write.
Bb176770.properties(en-us,office.12).gif Parent Returns the parent Object of the specified object. Read-only.
Bb176770.properties(en-us,office.12).gif Session Returns the NameSpace object for the current session. Read-only.

Events

  Name Description
Bb176770.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).
Bb176770.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).
Bb176770.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).