ExchangeService.FindItems method (FolderId, SearchFilter, ViewBase)

Returns items from a target folder filtered by item type with the specified preview page view.

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

Public Function FindItems ( _
	parentFolderId As FolderId, _
	searchFilter As SearchFilter, _
	view As ViewBase _
) As FindItemsResults(Of Item)
Dim instance As ExchangeService
Dim parentFolderId As FolderId
Dim searchFilter As SearchFilter
Dim view As ViewBase
Dim returnValue As FindItemsResults(Of Item)

returnValue = instance.FindItems(parentFolderId, _
	searchFilter, view)


Type: Microsoft.Exchange.WebServices.Data.FolderId

The ID of the folder in which to search for items.

Type: Microsoft.Exchange.WebServices.Data.SearchFilter

The filter used to narrow search results.

Type: Microsoft.Exchange.WebServices.Data.ViewBase

A value that determines the number of items per preview page.

Return value

Type: Microsoft.Exchange.WebServices.Data.FindItemsResults<Item>
A collection of items.

Calling this method results in a call to Exchange Web Services (EWS).