Ews.Search Method
Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9313)
Search(EwsFolderId, EwsSearchParameter[])
Searches a folder for messages that match the specified searching criteria.
Declaration
public EwsMessageCollection Search(EwsFolderId folderId, params EwsSearchParameter[] condition)
Parameters
| Type | Name | Description |
|---|---|---|
| EwsFolderId | folderId | ID of a folder to search in. |
| EwsSearchParameter[] | condition | Searching criteria. |
Returns
| Type | Description |
|---|---|
| EwsMessageCollection | List of found messages. |
Remarks
Searching criteria consist of one or more parameters. When multiple parameters are specified, the results is the intersection (AND) of all the messages that match.
Search(EwsFolderId, EwsPageView, EwsSearchParameter[])
Searches a folder for messages that match the specified searching criteria.
Declaration
public EwsMessageCollection Search(EwsFolderId folderId, EwsPageView pageView, params EwsSearchParameter[] condition)
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. |
Returns
| Type | Description |
|---|---|
| EwsMessageCollection | List of found messages. |
Remarks
Searching criteria consist of one or more parameters. When multiple parameters are specified, the results is the intersection (AND) of all the messages that match.
Search(EwsFolderId, EwsItemFields, EwsSearchParameter[])
Searches a folder for messages that match the specified searching criteria.
Declaration
public EwsMessageCollection Search(EwsFolderId folderId, EwsItemFields fields, params EwsSearchParameter[] condition)
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. |
Returns
| Type | Description |
|---|---|
| EwsMessageCollection | List of found messages. |
Remarks
Searching criteria consist of one or more parameters. When multiple parameters are specified, the results is the intersection (AND) of all the messages that match.
Search(EwsFolderId, EwsItemFields, EwsPageView, EwsSearchParameter[])
Searches a folder for messages that match the specified searching criteria.
Declaration
public EwsMessageCollection Search(EwsFolderId folderId, EwsItemFields fields, EwsPageView pageView, params EwsSearchParameter[] condition)
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. |
Returns
| Type | Description |
|---|---|
| EwsMessageCollection | List of found messages. |
Remarks
Searching criteria consist of one or more parameters. When multiple parameters are specified, the results is the intersection (AND) of all the messages that match.
Search(EwsFolderId, EwsItemFields, EwsListView, EwsSearchParameter[])
Searches a folder for messages that match the specified searching criteria.
Declaration
public EwsMessageCollection Search(EwsFolderId folderId, EwsItemFields fields, EwsListView listView, params EwsSearchParameter[] condition)
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. |
Returns
| Type | Description |
|---|---|
| EwsMessageCollection | List of found messages. |
Remarks
Searching criteria consist of one or more parameters. When multiple parameters are specified, the results is the intersection (AND) of all the messages that match.
Search(EwsFolderId, EwsItemFields, EwsListView, String)
Searches a folder for messages that match the specified searching criteria.
Declaration
public EwsMessageCollection Search(EwsFolderId folderId, EwsItemFields fields, EwsListView listView, string queryString)
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. |
Returns
| Type | Description |
|---|---|
| EwsMessageCollection | List of found messages. |