IContactInformation Interface
Definition
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.
Defines the interface for contact information.
public interface class IContactInformation
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3803521020, 59282, 19127, 177, 91, 242, 224, 120, 102, 77, 234)]
struct IContactInformation
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
[Windows.Foundation.Metadata.Guid(3803521020, 59282, 19127, 177, 91, 242, 224, 120, 102, 77, 234)]
public interface IContactInformation
Public Interface IContactInformation
- Derived
- Attributes
Windows requirements
Device family |
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
|
API contract |
Windows.Phone.PhoneContract (introduced in v1.0)
|
App 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 |
Gets or sets the display name of a contact. |
DisplayPicture |
Gets the display picture of the contact. |
FamilyName |
Gets or sets the family name of a contact. |
GivenName |
Gets or sets the given name of a contact. |
HonorificPrefix |
Gets or sets the honorific prefix of a contact. |
HonorificSuffix |
Gets or sets the honorific suffix of a contact. |
Methods
GetDisplayPictureAsync() |
Gets the display picture of a contact. |
GetPropertiesAsync() |
Gets the properties for a contact as an map of name/value pairs. |
SetDisplayPictureAsync(IInputStream) |
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. |