ContactManager class

Applies to Windows and Windows Phone

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

Syntax


var contactManager = Windows.ApplicationModel.Contacts.ContactManager;

Attributes

[MarshalingBehavior(Standard)]
[Version(0x06030000)]

Members

The ContactManager class has these types of members:

Methods

The ContactManager class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
RequestStoreAsync Retrieves a ContactStore object that enables searching for retrieving contacts on the device.
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) Queries the operating system for a user’s contact and shows the contact data in a contact card.
ShowDelayLoadedContactCard Shows a contact card that can be updated later if the contact does not exist in the user’s contact database.

 

Remarks

All relevant methods of this class are static methods.

For info about how to manage contacts, see Managing contact cards (XAML) and Managing contact cards (HTML).

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.ApplicationModel.Contacts
Windows::ApplicationModel::Contacts [C++]

Metadata

Windows.winmd

See also

Contact manager API sample
IContactManagerInterop
Object

 

 

Show:
© 2014 Microsoft