Searches a folder for items that match the specified searching criteria.
Namespace:
Rebex.Net
Assembly:
Rebex.Ews (in Rebex.Ews.dll)
Syntax
Visual Basic |
---|
Public Function SearchItems ( _ folderId As EwsFolderId, _ fields As EwsItemFields, _ listView As EwsListView, _ ParamArray condition As EwsSearchParameter() _ ) As EwsItemCollection |
C# |
---|
public EwsItemCollection SearchItems( EwsFolderId folderId, EwsItemFields fields, EwsListView listView, params EwsSearchParameter[] condition ) |
Parameters
- folderId
- Type: Rebex.Net..::..EwsFolderId
ID of a folder to search in.
- fields
- Type: Rebex.Net..::..EwsItemFields
Set of item properties to be retrieved.
- listView
- Type: Rebex.Net..::..EwsListView
List view options. Can be null (Nothing in VB.NET).
- condition
- Type: array<Rebex.Net..::..EwsSearchParameter>[]()[][]
Searching criteria.
Return Value
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.