Contact​Phone Contact​Phone Contact​Phone Class

Definition

Represents information about the phone for a contact.

public sealed class ContactPhone : IContactPhonepublic sealed class ContactPhone : IContactPhonePublic NotInheritable Class ContactPhone Implements IContactPhone
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

For information about how to manage contacts, see Managing contact cards and Managing contact cards .

Constructors

ContactPhone() ContactPhone() ContactPhone()

Initializes a new instance of a ContactPhone class.

public ContactPhone()public ContactPhone()Public Sub New()
Attributes

Properties

Description Description Description

Gets and sets the description of the phone for a contact. The maximum string length for the description is 512 characters.

public string Description { get; set; }public string Description { get; set; }Public ReadWrite Property Description As string
Value
string string string

The description of the phone for a contact.

Attributes

Kind Kind Kind

Gets and sets the kind of phone for a contact.

public ContactPhoneKind Kind { get; set; }public ContactPhoneKind Kind { get; set; }Public ReadWrite Property Kind As ContactPhoneKind
Value
ContactPhoneKind ContactPhoneKind ContactPhoneKind

A ContactPhoneKind -typed value that indicates the kind of phone.

Attributes

Number Number Number

Gets and sets the phone number of a phone for a contact. The maximum string length for the phone number is 50 characters.

public string Number { get; set; }public string Number { get; set; }Public ReadWrite Property Number As string
Value
string string string

The phone number of a phone for a contact.

Attributes

See Also