StoredContact.Id Property


Gets the local identifier of the stored contact.

 property Platform::String ^ Id { Platform::String ^ get(); };
winrt::hstring Id();
public string Id { get; }
var string =;
Public ReadOnly Property Id As String

Property Value


The local identifier of the contact.

Windows requirements

App capabilities
ID_CAP_CONTACTS [Windows Phone]


This identifier is assigned to the contact by the system. Your app can set a custom identifier by using the RemoteId property. Use this to associate contacts in the contact store with contacts in a remote, cloud-based contact store.

Applies to