StorageLibraryChangeTracker StorageLibraryChangeTracker StorageLibraryChangeTracker StorageLibraryChangeTracker Class

Definition

Provides APIs that you can use to manage change tracking for any library in the system such as documents, music, or videos.

public : sealed class StorageLibraryChangeTracker : IStorageLibraryChangeTrackerpublic sealed class StorageLibraryChangeTracker : IStorageLibraryChangeTrackerPublic NotInheritable Class StorageLibraryChangeTracker Implements IStorageLibraryChangeTracker// 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

Create an instance of this class by using the ChangeTracker method of the StorageLibrary class.

Methods

Enable() Enable() Enable() Enable()

Enables change tracking for the storage library.

public : void Enable()public void Enable()Public Function Enable() As void// You can use this method in JavaScript.

GetChangeReader() GetChangeReader() GetChangeReader() GetChangeReader()

Retrieves an StorageLibraryChangeReader that enables the app to iterate through the list of changes and mark changes as accepted.

public : StorageLibraryChangeReader GetChangeReader()public StorageLibraryChangeReader GetChangeReader()Public Function GetChangeReader() As StorageLibraryChangeReader// You can use this method in JavaScript.
Returns

Reset() Reset() Reset() Reset()

Resets change tracking for the storage library, deleting existing change tracking data.

public : void Reset()public void Reset()Public Function Reset() As void// You can use this method in JavaScript.