IContactInformation IContactInformation IContactInformation IContactInformation IContactInformation Interface

Definition

Defines the interface for contact information.

public : interface IContactInformation
struct winrt::Windows::Phone::PersonalInformation::IContactInformation
public interface IContactInformation
Public Interface IContactInformation
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.
Attributes
Windows 10 requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.PhoneContract (introduced v1)
Capabilities
ID_CAP_CONTACTS [Windows Phone]

Remarks

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

Properties

DisplayName DisplayName DisplayName DisplayName DisplayName

Gets or sets the display name of a contact.

DisplayPicture DisplayPicture DisplayPicture DisplayPicture DisplayPicture

Gets the display picture of the contact.

FamilyName FamilyName FamilyName FamilyName FamilyName

Gets or sets the family name of a contact.

GivenName GivenName GivenName GivenName GivenName

Gets or sets the given name of a contact.

HonorificPrefix HonorificPrefix HonorificPrefix HonorificPrefix HonorificPrefix

Gets or sets the honorific prefix of a contact.

HonorificSuffix HonorificSuffix HonorificSuffix HonorificSuffix HonorificSuffix

Gets or sets the honorific suffix of a contact.

Methods

GetDisplayPictureAsync() GetDisplayPictureAsync() GetDisplayPictureAsync() GetDisplayPictureAsync() GetDisplayPictureAsync()

Gets the display picture of a contact.

GetPropertiesAsync() GetPropertiesAsync() GetPropertiesAsync() GetPropertiesAsync() GetPropertiesAsync()

Gets the properties for a contact as an map of name/value pairs.

SetDisplayPictureAsync(IInputStream) SetDisplayPictureAsync(IInputStream) SetDisplayPictureAsync(IInputStream) SetDisplayPictureAsync(IInputStream) SetDisplayPictureAsync(IInputStream)

Sets the display picture for a contact using an IInputStream object.

ToVcardAsync() ToVcardAsync() ToVcardAsync() ToVcardAsync() ToVcardAsync()

Retrieves a vCard representation of the contact using the vCard version 3.0 format.

ToVcardAsync(VCardFormat) ToVcardAsync(VCardFormat) ToVcardAsync(VCardFormat) ToVcardAsync(VCardFormat) ToVcardAsync(VCardFormat)

Retrieves a vCard representation of the contact using the specified vCard format.

See Also