EwsSearch Method (FolderId, SearchFilter) |
Searches the specified folder for items matching the given criteria.
Namespace: MailBee.EwsMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public EwsItemList Search(
FolderId id,
SearchFilter filter
)
Public Function Search (
id As FolderId,
filter As SearchFilter
) As EwsItemList
Parameters
- id
- Type: FolderId
The ID of the folder where to perform search. Null reference (Nothing in Visual Basic) not allowed. - filter
- Type: SearchFilter
The EWS Managed API filter. If a null reference, no filter is applied and all the items are returned.
Return Value
Type:
EwsItemListIf succeeded, the list of items which passed the specified criteria; otherwise, a null reference.
Exceptions Remarks See Also