StorageLibraryChangeTracker Class

Definition

Provides APIs that you can use to manage change tracking for any library (such as documents, music, or videos) or folder.

public ref class StorageLibraryChangeTracker sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class StorageLibraryChangeTracker final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class StorageLibraryChangeTracker
Public NotInheritable Class StorageLibraryChangeTracker
Inheritance
Object Platform::Object IInspectable StorageLibraryChangeTracker
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Remarks

Get an instance of this class by using the ChangeTracker property of the StorageLibrary class or the TryGetChangeTracker method from StorageFolder.

Methods

Disable()

Disables change tracking for the StorageFolder or StorageLibrary.

Enable()

Enables change tracking for the storage library.

Enable(StorageLibraryChangeTrackerOptions)

Enables change tracking for the storage library on all or the latest changes based on the change id.

GetChangeReader()

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

Reset()

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

Applies to

See also