ContactManagerForUser ContactManagerForUser ContactManagerForUser ContactManagerForUser ContactManagerForUser Class

Definition

Represents a service that source apps can call to access contact data for a specific user.

public : sealed class ContactManagerForUser : IContactManagerForUser, IContactManagerForUser2
struct winrt::Windows::ApplicationModel::Contacts::ContactManagerForUser : IContactManagerForUser, IContactManagerForUser2
public sealed class ContactManagerForUser : IContactManagerForUser, IContactManagerForUser2
Public NotInheritable Class ContactManagerForUser Implements IContactManagerForUser, IContactManagerForUser2
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)
Capabilities
contactsSystem

Remarks

Call the ContactManager.GetForUser method to get an instance of this class.

Properties

SystemDisplayNameOrder SystemDisplayNameOrder SystemDisplayNameOrder SystemDisplayNameOrder SystemDisplayNameOrder

Gets or sets the display name order for contacts.

SystemSortOrder SystemSortOrder SystemSortOrder SystemSortOrder SystemSortOrder

Gets or sets the sort order for contacts. For example, sort by last name or first name.

User User User User User

Gets the User represented by this contact manager.

Methods

ConvertContactToVCardAsync(Contact) ConvertContactToVCardAsync(Contact) ConvertContactToVCardAsync(Contact) ConvertContactToVCardAsync(Contact) ConvertContactToVCardAsync(Contact)

Asynchronously converts a Contact to a vCard.

ConvertContactToVCardAsync(Contact, UInt32) ConvertContactToVCardAsync(Contact, UInt32) ConvertContactToVCardAsync(Contact, UInt32) ConvertContactToVCardAsync(Contact, UInt32) ConvertContactToVCardAsync(Contact, UInt32)

Asynchronously converts a Contact to a vCard.

ConvertVCardToContactAsync(IRandomAccessStreamReference) ConvertVCardToContactAsync(IRandomAccessStreamReference) ConvertVCardToContactAsync(IRandomAccessStreamReference) ConvertVCardToContactAsync(IRandomAccessStreamReference) ConvertVCardToContactAsync(IRandomAccessStreamReference)

Asynchronously converts a vCard to a Contact.

RequestAnnotationStoreAsync(ContactAnnotationStoreAccessType) RequestAnnotationStoreAsync(ContactAnnotationStoreAccessType) RequestAnnotationStoreAsync(ContactAnnotationStoreAccessType) RequestAnnotationStoreAsync(ContactAnnotationStoreAccessType) RequestAnnotationStoreAsync(ContactAnnotationStoreAccessType)

Asynchronously returns the ContactAnnotationStore from the system.

RequestStoreAsync(ContactStoreAccessType) RequestStoreAsync(ContactStoreAccessType) RequestStoreAsync(ContactStoreAccessType) RequestStoreAsync(ContactStoreAccessType) RequestStoreAsync(ContactStoreAccessType)

Asynchronously returns the ContactStore from the system.

ShowFullContactCard(Contact, FullContactCardOptions) ShowFullContactCard(Contact, FullContactCardOptions) ShowFullContactCard(Contact, FullContactCardOptions) ShowFullContactCard(Contact, FullContactCardOptions) ShowFullContactCard(Contact, FullContactCardOptions)

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