Export (0) Print
Expand All

Search and Filter

This section provides sample tasks that involve searching and filtering through items in a folder.

How to: Filter and Efficiently Enumerate Items in a Folder

Uses the Table object to filter for items in the Inbox that have attachments, and efficiently enumerate such items, displaying selected properties for each item.

How to: Use SetColumns to Efficiently Enumerate Items in a Folder

Improves the performance of enumerating the Items collection by using SetColumns(String) to cache certain properties of each item in the collection.

How to: Use Arrays to Efficiently Enumerate Items in a Folder

Efficiently enumerates items in a Folder object by using the GetArray(Int32) method.

How to: Enumerate Items in the Inbox Based on the Last Modification Time

Enumerates items in the Inbox folder based on the last modification time.

How to: Filter and Display Inbox Items Modified in the Last Month

Filters and displays Inbox items that were modified in the last month.

How to: Filter and Display Multivalued Properties When Enumerating Items in a Folder

Filters and displays multivalued properties while enumerating items in a folder.

How to: Filter and Display Computed Properties When Enumerating Items in a Folder

Filters and displays computed properties when enumerating items in a folder.

How to: Enumerate Hidden Items in a Folder

Finds and enumerates hidden items in a folder.

How to: Use Instant Search to Search All Folders and All Stores for a Phrase in the Subject

Uses Instant Search to search all folders and all stores for a phrase in the subject, and then displays the items in an explorer window.

How to: Search for a Phrase in the Body of Items in a Folder

Searches for the string "office" in the Body of items in the Inbox.

How to: Search Attachments of Items in a Folder for an Exact Phrase

Searches for the exact search string "office" in attachments to items in the Inbox.

How to: Search and Obtain Appointments in a Time Range

Returns appointments in a specific time range in the default Microsoft Outlook calendar.

How to: Filter Recurring Appointments and Search for a String in the Subject

Filters recurring appointments that fall within a date range in a Calendar folder, and then searches in two ways for the string "office" in the subject.

How to: Search and Obtain Items in an Aggregated View

Searches for items in multiple folders and stores and returns those items in an aggregated table view.

Show:
© 2014 Microsoft