ContactStore.GetChangeTracker(String) ContactStore.GetChangeTracker(String) ContactStore.GetChangeTracker(String) ContactStore.GetChangeTracker(String) ContactStore.GetChangeTracker(String) Method

Definition

Gets a ContactChangeTracker that provides functionality for monitoring changes to Contact objects in the ContactStore.

public : ContactChangeTracker GetChangeTracker(Platform::String identity)
ContactChangeTracker GetChangeTracker(winrt::hstring identity) const;
public ContactChangeTracker GetChangeTracker(String identity)
Public Function GetChangeTracker(identity As String) As ContactChangeTracker
var contactChangeTracker = contactStore.getChangeTracker(identity);

Parameters

identity
String String String

A string that identifies the ContactChangeTracker instance in the store.

Returns

A ContactChangeTracker that provides functionality for monitoring changes to Contact objects in the ContactStore.

Additional features and requirements

Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)
Capabilities
contactsSystem

Remarks

You can create multiple ContactChangeTracker instances by using this method. If you pass in a string that identifies a ContactChangeTracker that already exists in the store, this method returns that instance. If the string that you pass into this method does not identify an existing an existing ContactChangeTracker, this method returns a new ContactChangeTracker.

You can use the IsTracking property of the ContactChangeTracker to determine whether change tracking is enabled for the ContactChangeTracker.