ContactPickerUI.ContainsContact(String) ContactPickerUI.ContainsContact(String) ContactPickerUI.ContainsContact(String) ContactPickerUI.ContainsContact(String) ContactPickerUI.ContainsContact(String) Method

Definition

Checks to see whether the contact was already selected by the user.

Note

The Contact.Id property must be set when you call ContainsContact. If Contact.Id isn't set, your app won't be able to find the contact.

public : Platform::Boolean ContainsContact(Platform::String id)
bool ContainsContact(winrt::hstring id) const;
public bool ContainsContact(String id)
Public Function ContainsContact(id As String) As bool
var bool = contactPickerUI.containsContact(id);
Parameters
id
String String String

The ID of the contact.

Returns
bool bool bool

True if the contact has already been selected; otherwise, false.

Additional features and requirements
Capabilities
contactsSystem

See Also