Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 2.03 KB

contactmanager_showfullcontactcard_2012855989.md

File metadata and controls

31 lines (22 loc) · 2.03 KB
-api-id -api-type
M:Windows.ApplicationModel.Contacts.ContactManager.ShowFullContactCard(Windows.ApplicationModel.Contacts.Contact,Windows.ApplicationModel.Contacts.FullContactCardOptions)
winrt method

Windows.ApplicationModel.Contacts.ContactManager.ShowFullContactCard

-description

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

-parameters

-param 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.

-param fullContactCardOptions

Specifies how to display the full contact card.

-remarks

-examples

-see-also

Contact cards sample (Windows 10)

-capabilities

contactsSystem