Ews.SearchItemsAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9048)
SearchItemsAsync(EwsFolderId, EwsSearchParameter[], Object)
Begins asynchronous SearchItems operation. 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 optional user-provided object that identifies this particular asynchronous operation. |
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)
Begins asynchronous SearchItems operation. 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 optional user-provided object that identifies this particular asynchronous operation. |
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)
Begins asynchronous SearchItems operation. 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 optional user-provided object that identifies this particular asynchronous operation. |
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)
Begins asynchronous SearchItems operation. 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 optional user-provided object that identifies this particular asynchronous operation. |
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)
Begins asynchronous SearchItems operation. 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 optional user-provided object that identifies this particular asynchronous operation. |
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)
Begins asynchronous SearchItems operation. 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 optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<EwsItemCollection> | List of found items. |