ContactPhone ContactPhone ContactPhone ContactPhone Class

Definition

Represents information about the phone for a contact.

public : sealed class ContactPhone : IContactPhonepublic sealed class ContactPhone : IContactPhonePublic NotInheritable Class ContactPhone Implements IContactPhone// You can use this class in JavaScript.
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() ContactPhone()

Initializes a new instance of a ContactPhone class.

public : ContactPhone()public ContactPhone()Public Sub New()// You can use this method in JavaScript.

Properties

Description 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 : PlatForm::String Description { get; set; }public string Description { get; set; }Public ReadWrite Property Description As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The description of the phone for a contact.

Kind 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// You can use this property in JavaScript.
Value
ContactPhoneKind ContactPhoneKind ContactPhoneKind ContactPhoneKind

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

Number 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 : PlatForm::String Number { get; set; }public string Number { get; set; }Public ReadWrite Property Number As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The phone number of a phone for a contact.

See Also