Jaa


ContactManagerForUser.ShowFullContactCard Method

Definition

Queries the operating system for a user’s contact and shows the contact data in a full contact card.

public:
 virtual void ShowFullContactCard(Contact ^ contact, FullContactCardOptions ^ fullContactCardOptions) = ShowFullContactCard;
void ShowFullContactCard(Contact const& contact, FullContactCardOptions const& fullContactCardOptions);
public void ShowFullContactCard(Contact contact, FullContactCardOptions fullContactCardOptions);
function showFullContactCard(contact, fullContactCardOptions)
Public Sub ShowFullContactCard (contact As Contact, fullContactCardOptions As FullContactCardOptions)

Parameters

contact
Contact

The object that represents the contact that the app wants to display the contact card for.contact must contain at least an Id, Emails, or a phone number from a Phones list to query the user’s contact database to retrieve a matching contact to display. Id has higher priority for querying. If an Id matches, the rest of query parameters will be ignored for matching purposes. If an Id does not find a match, the query uses the rest of query parameters. Emails and Phones have equal priority for matching. If multiple email addresses, or phone numbers, or both are provided, the query first performs an exact match, requiring all query parameters to match a system contact record. If this results in no matches, the query uses "best effort" match, in which a match of any query parameters is sufficient.

If no matches occur, the data in the input contact displays in the contact card. If a match occurs, only system contact data displays, and the data in the input contact is discarded.

fullContactCardOptions
FullContactCardOptions

Specifies how to display the full contact card.

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)
App capabilities
contactsSystem

Remarks

This method must be called from the main UI thread.

Applies to

See also