ContactRemovedEventArgs.Id Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains a unique identifier for the contact.
public:
property Platform::String ^ Id { Platform::String ^ get(); };
winrt::hstring Id();
public string Id { get; }
var string = contactRemovedEventArgs.id;
Public ReadOnly Property Id As String
Property Value
A unique identifier for the contact.
Windows requirements
App capabilities |
contactsSystem
|
Remarks
When you work with contacts, you must supply an ID property for each contact. The value of this property can be whatever makes the most sense for your app, but it must enable you to uniquely identify each contact. Actions like removing a contact depend on this ID value to ensure that the correct contact is removed. For a complete example, see our code sample.