Results Members (Outlook)

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

Methods

Name

Description

GetFirst

Returns the first object in the collection.

GetLast

Returns the last object in the collection.

GetNext

Returns the next object in the collection.

GetPrevious

Returns the previous object in the collection.

Item

Returns an Outlook item from a collection.

ResetColumns

Clears the properties that have been cached with the SetColumns method.

SetColumns

Caches certain properties for extremely fast access to those particular properties of an item within the collection.

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

Application

Returns an Application object that represents the parent Outlook application for the object. Read-only.

Class

Returns an OlObjectClass constant indicating the object's class. Read-only.

Count

Returns a Long indicating the count of objects in the specified collection. Read-only.

DefaultItemType

Returns an OlItemType constant indicating the default Outlook item type contained in the folder. Read/write.

Parent

Returns the parent Object of the specified object. Read-only.

Session

Returns the NameSpace object for the current session. Read-only.

Events

Name

Description

ItemAdd

Occurs when one or more items are added to the specified collection.

ItemChange

Occurs when an item in the specified collection is changed.

ItemRemove

Occurs when an item is deleted from the specified collection.