ExchangeService.FindItems method (FolderId, String, ViewBase)

Returns items from a target folder according to the associated search query with the specified preview page view.

The FindItems(FolderId, String, ViewBase) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2010.

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

'Declaration
Public Function FindItems ( _
	parentFolderId As FolderId, _
	queryString As String, _
	view As ViewBase _
) As FindItemsResults(Of Item)
'Usage
Dim instance As ExchangeService
Dim parentFolderId As FolderId
Dim queryString As String
Dim view As ViewBase
Dim returnValue As FindItemsResults(Of Item)

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

Parameters

parentFolderId
Type: Microsoft.Exchange.WebServices.Data.FolderId

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

queryString
Type: System.String

The query used to specify the search.

view
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).

Show: