ContactStore.DeleteContactAsync(String) Method

Definition

Deletes the contact with the specified ID from the contact store.

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

Parameters

id
String

Platform::String

winrt::hstring

The ID of the contact to be deleted.

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