StorageLibraryChangeReader
StorageLibraryChangeReader
StorageLibraryChangeReader
StorageLibraryChangeReader
Class
Definition
Enables the calling app to read through the changes to items in a storage library.
public : sealed class StorageLibraryChangeReader : IStorageLibraryChangeReaderpublic sealed class StorageLibraryChangeReader : IStorageLibraryChangeReaderPublic NotInheritable Class StorageLibraryChangeReader Implements IStorageLibraryChangeReader// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
Remarks
Get an instance of this object by using the GetChangeReader method of the StorageLibraryChangeTracker class.
Methods
AcceptChangesAsync() AcceptChangesAsync() AcceptChangesAsync() AcceptChangesAsync()
Tells the system that all of the changes described in the StorageLibraryChange objects returned by the call to ReadBatchAsync have been addressed by the app.
public : IAsyncAction AcceptChangesAsync()public IAsyncAction AcceptChangesAsync()Public Function AcceptChangesAsync() As IAsyncAction// You can use this method in JavaScript.
Returns
An object that is used to manage the asynchronous accept change operation.
ReadBatchAsync() ReadBatchAsync() ReadBatchAsync() ReadBatchAsync()
Asynchronously gets a list of StorageLibraryChange objects.
public : IAsyncOperation<IVectorView<StorageLibraryChange>> ReadBatchAsync()public IAsyncOperation<IReadOnlyList<StorageLibraryChange>> ReadBatchAsync()Public Function ReadBatchAsync() As IAsyncOperation( Of IReadOnlyListStorageLibraryChange )// You can use this method in JavaScript.
Returns
IAsyncOperation<IVectorView<StorageLibraryChange>>
IAsyncOperation<IReadOnlyList<StorageLibraryChange>>
IAsyncOperation<IReadOnlyList<StorageLibraryChange>>
IAsyncOperation<IReadOnlyList<StorageLibraryChange>>
A list of StorageLibraryChange objects.