|EwsSearch Method (FolderId, SearchFilter, ItemView)|
public EwsItemList Search( FolderId id, SearchFilter filter, ItemView view )
Public Function Search ( id As FolderId, filter As SearchFilter, view As ItemView ) As EwsItemList
EwsItem objects in the returned list have only Id and UniqueId properties set. To get the actual items, you'll need to download them separately, such as with DownloadItems(IEnumerableEwsItem, EwsItemParts) method.
Alternatively, you can specify PropertySet property in view object (for instance, add more properties to be requested from the Exchange server). This will make this method an alternative to DownloadItems(FolderId, ItemView, Boolean, PropertySet) method and its overloads. The current method, however, performs only a single query to the Exchange server while DownloadItems(FolderId, ItemView, Boolean, PropertySet) makes two. The current method is faster but not any property can be requested within a single call. For instance, finding and downloading messages with message bodies requires two queries (so that DownloadItems(FolderId, ItemView, Boolean, PropertySet) method must be used).
|This method requires MS Exchange 2010 at least (and EWS client must be initialized with InitEwsClient(ExchangeVersion) not less than ExchangeVersion.Exchange2010).|