StoredContact.RemoteId Property

Definition

Gets the remote identifier of the stored contact.

public:
 property Platform::String ^ RemoteId { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring RemoteId();

void RemoteId(winrt::hstring value);
public string RemoteId { get; set; }
var string = storedContact.remoteId;
storedContact.remoteId = string;
Public Property RemoteId As String

Property Value

String

The remote identifier of the contact.

Windows 10 requirements

App capabilities
ID_CAP_CONTACTS [Windows Phone]

Remarks

Use this property to associate the Id of the contact with the identifier used by a remote, cloud-based contact store. The value of this property must be stable and must be unique across all apps on the phone. Attempting to save a contact may fail if the RemoteId property is not unique on the phone.

Applies to

See also