ContactManager Class
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.
Represents a service that source apps can call to access contact data.
public ref class ContactManager abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ContactManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public static class ContactManager
Public Class ContactManager
- Inheritance
- Attributes
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
App capabilities |
contactsSystem
|
All relevant methods of this class are static methods.
For info about how to manage contacts, see Contacts and calendar.
Windows version | SDK version | Value added |
---|---|---|
1607 | 14393 | GetForUser |
1703 | 15063 | IncludeMiddleNameInSystemDisplayAndSort |
1703 | 15063 | IsShowFullContactCardSupportedAsync |
Include |
Gets or sets a Boolean that indicates whether the middle name of a contact is included in the DisplayName and SortName of a contact. |
System |
Gets or sets the display name order. |
System |
Gets or sets the sort order. |
Convert |
Asynchronously converts a Contact to a vCard. |
Convert |
Asynchronously converts a Contact to a vCard. |
Convert |
Asynchronously converts a vCard to a Contact. |
Get |
Gets the ContactManagerForUser object for the specified user. |
Is |
Gets a Boolean value that indicates whether the ShowContactCard method is supported on the current platform. |
Is |
Gets a Boolean value that indicates whether the ShowDelayLoadedContactCard method is supported on the current platform. |
Is |
Gets a Boolean value that indicates whether the ShowFullContactCard method is supported on the current platform. |
Request |
Asynchronously requests access to the ContactAnnotationStore. |
Request |
Retrieves a ContactStore object that enables searching or retrieving contacts on the device. |
Request |
Retrieves a ContactStore object that enables searching or retrieving contacts on the device. |
Show |
Shows a contact card with the specified parameters. |
Show |
Queries the operating system for a user’s contact and shows the contact data in a contact card. |
Show |
Queries the operating system for a user’s contact and shows the contact data in a contact card. |
Show |
Shows a contact card that can be updated later if the contact does not exist in the user’s contact database. |
Show |
Shows a contact card that can be updated later if the contact does not exist in the user’s contact database. |
Show |
Queries the operating system for a user’s contact and shows the contact data in a full contact card. |
Product | Versions |
---|---|
WinRT | Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |