ContactRemovedEventArgs class

This topic has not yet been rated - Rate this topic

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

Syntax


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

Attributes

VersionAttribute(NTDDI_WIN8)

Members

The ContactRemovedEventArgs class has these types of members:

Methods

The ContactRemovedEventArgs class inherits methods from the Object class (C#/VB/C++).

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]

Namespace

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

Metadata

Windows.winmd

 

 

Build date: 12/4/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.