Share via


StoredContact.Id Property

Definition

Gets the local identifier of the stored contact.

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

Property Value

String

Platform::String

winrt::hstring

The local identifier of the contact.

Windows requirements

App capabilities
ID_CAP_CONTACTS [Windows Phone]

Remarks

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