ContactManager.ShowFullContactCard(Contact, FullContactCardOptions) 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.
Queries the operating system for a user’s contact and shows the contact data in a full contact card.
public:
static void ShowFullContactCard(Contact ^ contact, FullContactCardOptions ^ fullContactCardOptions);
static void ShowFullContactCard(Contact const& contact, FullContactCardOptions const& fullContactCardOptions);
public static void ShowFullContactCard(Contact contact, FullContactCardOptions fullContactCardOptions);
function showFullContactCard(contact, fullContactCardOptions)
Public Shared 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
App capabilities |
contactsSystem
|