Edit

Share via


Folder.FindItems Method

Definition

Overloads

FindItems(String, ItemView, Grouping)

Returns a list of items by searching the contents of this folder.

FindItems(SearchFilter, ItemView, Grouping)

Returns a list of items by searching the contents of this folder, using the specified search filter.

FindItems(String, ItemView)

Returns a list of items by searching the contents of this folder with the specified query string.

FindItems(ItemView, Grouping)

Obtains a list of items by searching the contents of this folder in the specified view and grouped by the specified property.

FindItems(ItemView)

Obtains a list of items by searching the contents of this folder.

FindItems(SearchFilter, ItemView)

Obtains a list of items by searching the contents of this folder.

FindItems(String, ItemView, Grouping)

Returns a list of items by searching the contents of this folder.

public:
 Microsoft::Exchange::WebServices::Data::GroupedFindItemsResults<Microsoft::Exchange::WebServices::Data::Item ^> ^ FindItems(System::String ^ queryString, Microsoft::Exchange::WebServices::Data::ItemView ^ view, Microsoft::Exchange::WebServices::Data::Grouping ^ groupBy);
public Microsoft.Exchange.WebServices.Data.GroupedFindItemsResults<Microsoft.Exchange.WebServices.Data.Item> FindItems (string queryString, Microsoft.Exchange.WebServices.Data.ItemView view, Microsoft.Exchange.WebServices.Data.Grouping groupBy);
Public Function FindItems (queryString As String, view As ItemView, groupBy As Grouping) As GroupedFindItemsResults(Of Item)

Parameters

queryString
String

The query string that specifies the search filter.

view
ItemView

The view that controls the number of items that are returned.

groupBy
Grouping

The grouping criteria.

Returns

The results of the search.

Remarks

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

Applies to

FindItems(SearchFilter, ItemView, Grouping)

Returns a list of items by searching the contents of this folder, using the specified search filter.

public:
 Microsoft::Exchange::WebServices::Data::GroupedFindItemsResults<Microsoft::Exchange::WebServices::Data::Item ^> ^ FindItems(Microsoft::Exchange::WebServices::Data::SearchFilter ^ searchFilter, Microsoft::Exchange::WebServices::Data::ItemView ^ view, Microsoft::Exchange::WebServices::Data::Grouping ^ groupBy);
public Microsoft.Exchange.WebServices.Data.GroupedFindItemsResults<Microsoft.Exchange.WebServices.Data.Item> FindItems (Microsoft.Exchange.WebServices.Data.SearchFilter searchFilter, Microsoft.Exchange.WebServices.Data.ItemView view, Microsoft.Exchange.WebServices.Data.Grouping groupBy);

Parameters

searchFilter
SearchFilter

The search filter.

view
ItemView

The view that controls the number of items that are returned.

groupBy
Grouping

The grouping criteria.

Returns

The results of the search.

Remarks

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

Applies to

FindItems(String, ItemView)

Returns a list of items by searching the contents of this folder with the specified query string.

public:
 Microsoft::Exchange::WebServices::Data::FindItemsResults<Microsoft::Exchange::WebServices::Data::Item ^> ^ FindItems(System::String ^ queryString, Microsoft::Exchange::WebServices::Data::ItemView ^ view);
public Microsoft.Exchange.WebServices.Data.FindItemsResults<Microsoft.Exchange.WebServices.Data.Item> FindItems (string queryString, Microsoft.Exchange.WebServices.Data.ItemView view);
Public Function FindItems (queryString As String, view As ItemView) As FindItemsResults(Of Item)

Parameters

queryString
String

The query string that specifies the items to return.

view
ItemView

The view that controls the number of items that are returned.

Returns

The results of the search.

Remarks

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

Applies to

FindItems(ItemView, Grouping)

Obtains a list of items by searching the contents of this folder in the specified view and grouped by the specified property.

public:
 Microsoft::Exchange::WebServices::Data::GroupedFindItemsResults<Microsoft::Exchange::WebServices::Data::Item ^> ^ FindItems(Microsoft::Exchange::WebServices::Data::ItemView ^ view, Microsoft::Exchange::WebServices::Data::Grouping ^ groupBy);
public Microsoft.Exchange.WebServices.Data.GroupedFindItemsResults<Microsoft.Exchange.WebServices.Data.Item> FindItems (Microsoft.Exchange.WebServices.Data.ItemView view, Microsoft.Exchange.WebServices.Data.Grouping groupBy);
Public Function FindItems (view As ItemView, groupBy As Grouping) As GroupedFindItemsResults(Of Item)

Parameters

view
ItemView

The view that controls the number of items that are returned.

groupBy
Grouping

The grouping criteria.

Returns

The results of the search.

Remarks

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

Applies to

FindItems(ItemView)

Obtains a list of items by searching the contents of this folder.

public:
 Microsoft::Exchange::WebServices::Data::FindItemsResults<Microsoft::Exchange::WebServices::Data::Item ^> ^ FindItems(Microsoft::Exchange::WebServices::Data::ItemView ^ view);
public Microsoft.Exchange.WebServices.Data.FindItemsResults<Microsoft.Exchange.WebServices.Data.Item> FindItems (Microsoft.Exchange.WebServices.Data.ItemView view);
Public Function FindItems (view As ItemView) As FindItemsResults(Of Item)

Parameters

view
ItemView

The view that controls the number of items that are returned.

Returns

The results of the search operation.

Remarks

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

Applies to

FindItems(SearchFilter, ItemView)

Obtains a list of items by searching the contents of this folder.

public:
 Microsoft::Exchange::WebServices::Data::FindItemsResults<Microsoft::Exchange::WebServices::Data::Item ^> ^ FindItems(Microsoft::Exchange::WebServices::Data::SearchFilter ^ searchFilter, Microsoft::Exchange::WebServices::Data::ItemView ^ view);
public Microsoft.Exchange.WebServices.Data.FindItemsResults<Microsoft.Exchange.WebServices.Data.Item> FindItems (Microsoft.Exchange.WebServices.Data.SearchFilter searchFilter, Microsoft.Exchange.WebServices.Data.ItemView view);

Parameters

searchFilter
SearchFilter

The search filter.

view
ItemView

The view that controls the number of items that are returned.

Returns

The results of the search.

Remarks

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

Applies to