ContactPickerUI.RemoveContact(String) Method
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.
Removes a contact.
public:
virtual void RemoveContact(Platform::String ^ id) = RemoveContact;
void RemoveContact(winrt::hstring const& id);
public void RemoveContact(string id);
function removeContact(id)
Public Sub RemoveContact (id As String)
Parameters
- id
-
String
Platform::String
winrt::hstring
The ID of the contact to remove.
Windows requirements
App capabilities |
contactsSystem
|
Remarks
Note
The Contact.Id property must be set when you call RemoveContact. If Contact.Id isn't set, your app won't be able to remove the contact.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for