Windows Dev Center

StoredContact.ReplaceExistingContactAsync method

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

Syntax


public:
IAsyncAction^ ReplaceExistingContactAsync(
  String^ id
)

Parameters

id

Type: System.String [.NET] | Platform::String [C++]

The ID of the contact to replace.

Return value

Type: IAsyncAction

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

Requirements (Windows 10 device family)

Device family

Mobile

API contract

Windows.Phone.PhoneContract, introduced version 1.0

Namespace

Windows.Phone.PersonalInformation
Windows::Phone::PersonalInformation [C++]

Metadata

Windows.Phone.PhoneContract.winmd

Capabilities

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.PersonalInformation
Windows::Phone::PersonalInformation [C++]

Metadata

Windows.WinMD

Capabilities

ID_CAP_CONTACTS [Windows Phone]

See also

StoredContact
Asynchronous programming

 

 

Show:
© 2015 Microsoft