ExchangeServiceFindItems(FolderId, String, Boolean, ViewBase, Grouping, CancellationToken) - метод |
Obtains a list of items by searching the contents of a specific folder.
Along with conversations, a list of highlight terms are returned.
Calling this method results in a call to EWS.
Пространство имён:
Tessa.Exchange.WebServices.Data
Сборка:
Tessa.Server (в Tessa.Server.dll) Версия: 3.5.0.19
Синтаксис public Task<GroupedFindItemsResults<Item>> FindItems(
FolderId parentFolderId,
string queryString,
bool returnHighlightTerms,
ViewBase view,
Grouping groupBy,
CancellationToken token = default
)
Public Function FindItems (
parentFolderId As FolderId,
queryString As String,
returnHighlightTerms As Boolean,
view As ViewBase,
groupBy As Grouping,
Optional token As CancellationToken = Nothing
) As Task(Of GroupedFindItemsResults(Of Item))
public:
Task<GroupedFindItemsResults<Item^>^>^ FindItems(
FolderId^ parentFolderId,
String^ queryString,
bool returnHighlightTerms,
ViewBase^ view,
Grouping^ groupBy,
CancellationToken token = CancellationToken()
)
member FindItems :
parentFolderId : FolderId *
queryString : string *
returnHighlightTerms : bool *
view : ViewBase *
groupBy : Grouping *
?token : CancellationToken
(* Defaults:
let _token = defaultArg token new CancellationToken()
*)
-> Task<GroupedFindItemsResults<Item>>
Параметры
- parentFolderId
- Тип: Tessa.Exchange.WebServices.DataFolderId
The Id of the folder in which to search for items. - queryString
- Тип: SystemString
the search string to be used for indexed search, if any. - returnHighlightTerms
- Тип: SystemBoolean
Flag indicating if highlight terms should be returned in the response - view
- Тип: Tessa.Exchange.WebServices.DataViewBase
The view controlling the number of items returned. - groupBy
- Тип: Tessa.Exchange.WebServices.DataGrouping
The group by clause. - token (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskGroupedFindItemsResultsItemAn object representing the results of the search operation.
См. также