Share via


StoredContact.ReplaceExistingContactAsync(String) Method

Definition

Replaces the contact with the specified ID with the current contact.

public:
 virtual IAsyncAction ^ ReplaceExistingContactAsync(Platform::String ^ id) = ReplaceExistingContactAsync;
IAsyncAction ReplaceExistingContactAsync(winrt::hstring const& id);
public IAsyncAction ReplaceExistingContactAsync(string id);
function replaceExistingContactAsync(id)
Public Function ReplaceExistingContactAsync (id As String) As IAsyncAction

Parameters

id
String

Platform::String

winrt::hstring

The ID of the contact to replace.

Returns

An asynchronous action. If you use Asynchronous programming, the result type is void.

Windows requirements

App capabilities
ID_CAP_CONTACTS [Windows Phone]

Applies to

See also