ContactReader.GetMatchingPropertiesWithMatchReason(Contact) Method

Definition

Gets the reason a Contact matched the search query. Returns the properties and substrings that match.

public:
 virtual IVectorView<ContactMatchReason ^> ^ GetMatchingPropertiesWithMatchReason(Contact ^ contact) = GetMatchingPropertiesWithMatchReason;
IVectorView<ContactMatchReason> GetMatchingPropertiesWithMatchReason(Contact const& contact);
public IReadOnlyList<ContactMatchReason> GetMatchingPropertiesWithMatchReason(Contact contact);
function getMatchingPropertiesWithMatchReason(contact)
Public Function GetMatchingPropertiesWithMatchReason (contact As Contact) As IReadOnlyList(Of ContactMatchReason)

Parameters

contact
Contact

The Contact for which to get the matching properties.

Returns

The list of matching properties and match reasons.

Windows requirements

App capabilities
contactsSystem

Remarks

These results can be used for hit highlighting.

Applies to