Results Object Members
Outlook Developer Reference |
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. 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). | |
ItemChange | Occurs when an item in the specified collection is changed. This event is not available in Microsoft Visual Basic Scripting Edition (VBScript). | |
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). |