This section provides sample tasks that involve searching and filtering through 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.
Enumerates items in the Inbox folder based on the last modification time.
Filters and displays Inbox items that were modified in the last month.
Filters and displays multivalued properties while enumerating items in a folder.
Filters and displays computed properties when enumerating items in a folder.
Finds and enumerates hidden items in a folder.
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.
Searches for the string "office" in the Body of items in the Inbox.
Searches for the exact search string "office" in attachments to items in the Inbox.
Returns appointments in a specific time range in the default Microsoft Outlook calendar.
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.
Searches for items in multiple folders and stores and returns those items in an aggregated table view.