ContactManager ContactManager ContactManager ContactManager ContactManager Class

Definition

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

public : static class ContactManager
static struct winrt::Windows::ApplicationModel::Contacts::ContactManager
public static class ContactManager
Public Shared Class ContactManager
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
contactsSystem

Remarks

All relevant methods of this class are static methods.

For info about how to manage contacts, see Managing contact cards and Managing contact cards .

Properties

IncludeMiddleNameInSystemDisplayAndSort IncludeMiddleNameInSystemDisplayAndSort IncludeMiddleNameInSystemDisplayAndSort IncludeMiddleNameInSystemDisplayAndSort IncludeMiddleNameInSystemDisplayAndSort

Gets or sets a Boolean that indicates whether the middle name of a contact is included in the DisplayName and SortName of a contact.

SystemDisplayNameOrder SystemDisplayNameOrder SystemDisplayNameOrder SystemDisplayNameOrder SystemDisplayNameOrder

Gets or puts the display name order.

SystemSortOrder SystemSortOrder SystemSortOrder SystemSortOrder SystemSortOrder

Gets or puts the sort order.

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.

GetForUser(User) GetForUser(User) GetForUser(User) GetForUser(User) GetForUser(User)

Gets the ContactManagerForUser object for the specified user.

IsShowContactCardSupported() IsShowContactCardSupported() IsShowContactCardSupported() IsShowContactCardSupported() IsShowContactCardSupported()

Gets a Boolean value indicating if the ShowContactCard method is supported on the current platform.

IsShowDelayLoadedContactCardSupported() IsShowDelayLoadedContactCardSupported() IsShowDelayLoadedContactCardSupported() IsShowDelayLoadedContactCardSupported() IsShowDelayLoadedContactCardSupported()

Gets a Boolean value indicating if the ShowDelayLoadedContactCard method is supported on the current platform.

IsShowFullContactCardSupportedAsync() IsShowFullContactCardSupportedAsync() IsShowFullContactCardSupportedAsync() IsShowFullContactCardSupportedAsync() IsShowFullContactCardSupportedAsync()

Gets a Boolean value indicating if the ShowFullContactCard method is supported on the current platform.

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

Asynchronously requests access to the ContactAnnotationStore.

RequestStoreAsync() RequestStoreAsync() RequestStoreAsync() RequestStoreAsync() RequestStoreAsync()

Retrieves a ContactStore object that enables searching or retrieving contacts on the device.

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

Retrieves a ContactStore object that enables searching or retrieving contacts on the device.

ShowContactCard(Contact, Rect) ShowContactCard(Contact, Rect) ShowContactCard(Contact, Rect) ShowContactCard(Contact, Rect) ShowContactCard(Contact, Rect)

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

ShowContactCard(Contact, Rect, Placement) ShowContactCard(Contact, Rect, Placement) ShowContactCard(Contact, Rect, Placement) ShowContactCard(Contact, Rect, Placement) ShowContactCard(Contact, Rect, Placement)

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

ShowContactCard(Contact, Rect, Placement, ContactCardOptions) ShowContactCard(Contact, Rect, Placement, ContactCardOptions) ShowContactCard(Contact, Rect, Placement, ContactCardOptions) ShowContactCard(Contact, Rect, Placement, ContactCardOptions) ShowContactCard(Contact, Rect, Placement, ContactCardOptions)

Shows a contact card with the specified parameters.

ShowDelayLoadedContactCard(Contact, Rect, Placement) ShowDelayLoadedContactCard(Contact, Rect, Placement) ShowDelayLoadedContactCard(Contact, Rect, Placement) ShowDelayLoadedContactCard(Contact, Rect, Placement) ShowDelayLoadedContactCard(Contact, Rect, Placement)

Shows a contact card that can be updated later if the contact does not exist in the user’s contact database.

ShowDelayLoadedContactCard(Contact, Rect, Placement, ContactCardOptions) ShowDelayLoadedContactCard(Contact, Rect, Placement, ContactCardOptions) ShowDelayLoadedContactCard(Contact, Rect, Placement, ContactCardOptions) ShowDelayLoadedContactCard(Contact, Rect, Placement, ContactCardOptions) ShowDelayLoadedContactCard(Contact, Rect, Placement, ContactCardOptions)

Shows a contact card that can be updated later if the contact does not exist in the user’s contact database.

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.

See Also