Windows Dev Center

IContactInformation interface

Defines the interface for contact information.

Syntax


public interface class IContactInformation

Attributes

[Version(0x06020000)]

Members

The IContactInformation interface has these types of members:

Methods

The IContactInformation interface has these methods. It also inherits methods from the Object class.

MethodDescription
GetDisplayPictureAsync Gets the display picture of a contact.
GetPropertiesAsync Gets the properties for a contact as an map of name/value pairs.
SetDisplayPictureAsync Sets the display picture for a contact using an IInputStream object.
ToVcardAsync Retrieves a vCard representation of the contact using the vCard version 3.0 format.
ToVcardAsync(VCardFormat) Retrieves a vCard representation of the contact using the specified vCard format.

 

Properties

The IContactInformation interface has these properties.

PropertyAccess typeDescription

DisplayName

Read/writeGets or sets the display name of a contact.

DisplayPicture

Read-onlyGets the display picture of the contact.

FamilyName

Read/writeGets or sets the family name of a contact.

GivenName

Read/writeGets or sets the given name of a contact.

HonorificPrefix

Read/writeGets or sets the honorific prefix of a contact.

HonorificSuffix

Read/writeGets or sets the honorific suffix of a contact.

 

Remarks

For most scenarios you should use the ContactInformation class, which provides the implementation for the IContactInformation API.

Requirements (device family)

Device family

Mobile

API contract

Windows.Phone.PhoneContract, introduced version 1.0

Namespace

Windows.Phone.PersonalInformation
Windows::Phone::PersonalInformation [C++]

Metadata

Windows.Phone.PhoneContract.winmd

Capabilities

ID_CAP_CONTACTS [Windows Phone]

Requirements (operating system)

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.PersonalInformation
Windows::Phone::PersonalInformation [C++]

Metadata

Windows.WinMD

Capabilities

ID_CAP_CONTACTS [Windows Phone]

See also

ContactInformation

 

 

Community Additions

ADD
Show:
© 2015 Microsoft