Filtering items in a collection

You can use the Microsoft Outlook object model to return information about all items in a folder. Often, however, the desired objective is to search for a specific item or to retrieve a subset of the items in the folder. Consider the following examples:

While the Find and Restrict methods perform different functions, the syntax for both is similar. Following are some tips for using these methods: