ContactManagerForUser Class

Definition

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

public ref class ContactManagerForUser sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ContactManagerForUser final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ContactManagerForUser
Public NotInheritable Class ContactManagerForUser
Inheritance
Object Platform::Object IInspectable ContactManagerForUser
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)
App capabilities
contactsSystem

Remarks

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

Version history

Windows version SDK version Value added
1703 15063 ShowFullContactCard

Properties

SystemDisplayNameOrder

Gets or sets the display name order for contacts.

SystemSortOrder

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

User

Gets the User represented by this contact manager.

Methods

ConvertContactToVCardAsync(Contact, UInt32)

Asynchronously converts a Contact to a vCard.

ConvertContactToVCardAsync(Contact)

Asynchronously converts a Contact to a vCard.

ConvertVCardToContactAsync(IRandomAccessStreamReference)

Asynchronously converts a vCard to a Contact.

RequestAnnotationStoreAsync(ContactAnnotationStoreAccessType)

Asynchronously returns the ContactAnnotationStore from the system.

RequestStoreAsync(ContactStoreAccessType)

Asynchronously returns the ContactStore from the system.

ShowFullContactCard(Contact, FullContactCardOptions)

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

Applies to