EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

ContactRemovedEventArgs class

Applies to Windows only

Contains info about a removed contact. Returned when a ContactRemoved event occurs.

Syntax


/* For information about creating or accessing this object, see Remarks. */

Attributes

[Version(0x06020000)]

Members

The ContactRemovedEventArgs class has these types of members:

Properties

The ContactRemovedEventArgs class has these properties.

PropertyAccess typeDescription

Id

Read-onlyContains a unique identifier for the contact.

 

Remarks

Your app gets a ContactRemovedEventArgs object when the ContactRemoved event occurs.

Examples

The following example shows one way to use a ContactRemovedEventArgs object.


function onContactRemovedFromBasket(e) {
    var removedContactDiv = document.createElement("div");
    removedContactDiv.innerText = "Contact ID: " + e.id + " has been removed.";
    document.body.appendChild(removedContactDiv);
}


Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

Windows.ApplicationModel.Contacts.Provider
Windows::ApplicationModel::Contacts::Provider [C++]

Metadata

Windows.winmd

 

 

Mostrar:
© 2014 Microsoft