Ews.SearchItemsAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 8.0.9673)
SearchItemsAsync(EwsFolderId, EwsSearchParameter[], Object)
Searches a folder for items that match the specified searching criteria.
Declaration
public Task<EwsItemCollection> SearchItemsAsync(EwsFolderId folderId, EwsSearchParameter[] condition, object state = null)
Parameters
| Type | Name | Description |
|---|---|---|
| EwsFolderId | folderId | ID of a folder to search in. |
| EwsSearchParameter[] | condition | Searching criteria. |
| Object | state | An object containing state information for this request. |
Returns
| Type | Description |
|---|---|
| Task<EwsItemCollection> | List of found items. |
Remarks
Searching criteria consist of one or more parameters. When multiple parameters are specified, the results is the intersection (AND) of all the items that match.
SearchItemsAsync(EwsFolderId, EwsPageView, EwsSearchParameter[], Object)
Searches a folder for items that match the specified searching criteria.
Declaration
public Task<EwsItemCollection> SearchItemsAsync(EwsFolderId folderId, EwsPageView pageView, EwsSearchParameter[] condition, object state = null)
Parameters
| Type | Name | Description |
|---|---|---|
| EwsFolderId | folderId | ID of a folder to search in. |
| EwsPageView | pageView | Paging definition. Can be null (Nothing in VB.NET). |
| EwsSearchParameter[] | condition | Searching criteria. |
| Object | state | An object containing state information for this request. |
Returns
| Type | Description |
|---|---|
| Task<EwsItemCollection> | List of found items. |
Remarks
Searching criteria consist of one or more parameters. When multiple parameters are specified, the results is the intersection (AND) of all the items that match.
SearchItemsAsync(EwsFolderId, EwsItemFields, EwsSearchParameter[], Object)
Searches a folder for items that match the specified searching criteria.
Declaration
public Task<EwsItemCollection> SearchItemsAsync(EwsFolderId folderId, EwsItemFields fields, EwsSearchParameter[] condition, object state = null)
Parameters
| Type | Name | Description |
|---|---|---|
| EwsFolderId | folderId | ID of a folder to search in. |
| EwsItemFields | fields | Set of item properties to be retrieved. |
| EwsSearchParameter[] | condition | Searching criteria. |
| Object | state | An object containing state information for this request. |
Returns
| Type | Description |
|---|---|
| Task<EwsItemCollection> | List of found items. |
Remarks
Searching criteria consist of one or more parameters. When multiple parameters are specified, the results is the intersection (AND) of all the items that match.
SearchItemsAsync(EwsFolderId, EwsItemFields, EwsPageView, EwsSearchParameter[], Object)
Searches a folder for items that match the specified searching criteria.
Declaration
public Task<EwsItemCollection> SearchItemsAsync(EwsFolderId folderId, EwsItemFields fields, EwsPageView pageView, EwsSearchParameter[] condition, object state = null)
Parameters
| Type | Name | Description |
|---|---|---|
| EwsFolderId | folderId | ID of a folder to search in. |
| EwsItemFields | fields | Set of item properties to be retrieved. |
| EwsPageView | pageView | Paging definition. Can be null (Nothing in VB.NET). |
| EwsSearchParameter[] | condition | Searching criteria. |
| Object | state | An object containing state information for this request. |
Returns
| Type | Description |
|---|---|
| Task<EwsItemCollection> | List of found items. |
Remarks
Searching criteria consist of one or more parameters. When multiple parameters are specified, the results is the intersection (AND) of all the items that match.
SearchItemsAsync(EwsFolderId, EwsItemFields, EwsListView, EwsSearchParameter[], Object)
Searches a folder for items that match the specified searching criteria.
Declaration
public Task<EwsItemCollection> SearchItemsAsync(EwsFolderId folderId, EwsItemFields fields, EwsListView listView, EwsSearchParameter[] condition, object state = null)
Parameters
| Type | Name | Description |
|---|---|---|
| EwsFolderId | folderId | ID of a folder to search in. |
| EwsItemFields | fields | Set of item properties to be retrieved. |
| EwsListView | listView | List view options. Can be null (Nothing in VB.NET). |
| EwsSearchParameter[] | condition | Searching criteria. |
| Object | state | An object containing state information for this request. |
Returns
| Type | Description |
|---|---|
| Task<EwsItemCollection> | List of found items. |
Remarks
Searching criteria consist of one or more parameters. When multiple parameters are specified, the results is the intersection (AND) of all the items that match.
SearchItemsAsync(EwsFolderId, EwsItemFields, EwsListView, String, Object)
Searches a folder for items that match the specified searching criteria.
Declaration
public Task<EwsItemCollection> SearchItemsAsync(EwsFolderId folderId, EwsItemFields fields, EwsListView listView, string queryString, object state = null)
Parameters
| Type | Name | Description |
|---|---|---|
| EwsFolderId | folderId | ID of a folder to search in. |
| EwsItemFields | fields | Set of item properties to be retrieved. |
| EwsListView | listView | List view options. Can be null (Nothing in VB.NET). |
| String | queryString | Searching criteria string in AQS syntax. |
| Object | state | An object containing state information for this request. |
Returns
| Type | Description |
|---|---|
| Task<EwsItemCollection> | List of found items. |