ChatSearchReader
ChatSearchReader
ChatSearchReader
ChatSearchReader
Class
Definition
Provides functionality to search for chat messages in the ChatMessageStore.
public : sealed class ChatSearchReader : IChatSearchReaderpublic sealed class ChatSearchReader : IChatSearchReaderPublic NotInheritable Class ChatSearchReader Implements IChatSearchReader// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
Call the ChatMessageStore.GetSearchReader method to obtain an instance of this class.
Methods
ReadBatchAsync() ReadBatchAsync() ReadBatchAsync() ReadBatchAsync()
Returns a batch of found items matching the search criteria.
public : IAsyncOperation<IVectorView<IChatItem>> ReadBatchAsync()public IAsyncOperation<IReadOnlyList<IChatItem>> ReadBatchAsync()Public Function ReadBatchAsync() As IAsyncOperation( Of IReadOnlyListIChatItem )// You can use this method in JavaScript.
Returns
IAsyncOperation<IVectorView<IChatItem>>
IAsyncOperation<IReadOnlyList<IChatItem>>
IAsyncOperation<IReadOnlyList<IChatItem>>
IAsyncOperation<IReadOnlyList<IChatItem>>
A list of items matching the search criteria.
- See Also
ReadBatchAsync(Int32) ReadBatchAsync(Int32) ReadBatchAsync(Int32) ReadBatchAsync(Int32)
Returns a batch of found items matching the search criteria.
public : IAsyncOperation<IVectorView<IChatItem>> ReadBatchAsync(int count)public IAsyncOperation<IReadOnlyList<IChatItem>> ReadBatchAsync(Int32 count)Public Function ReadBatchAsync(count As Int32) As IAsyncOperation( Of IReadOnlyListIChatItem )// You can use this method in JavaScript.
Parameters
- count
- int Int32 Int32 Int32
The maximum number of items to return.
Returns
IAsyncOperation<IVectorView<IChatItem>>
IAsyncOperation<IReadOnlyList<IChatItem>>
IAsyncOperation<IReadOnlyList<IChatItem>>
IAsyncOperation<IReadOnlyList<IChatItem>>
A list of items matching the search criteria.
- See Also