ContactPhone ContactPhone ContactPhone ContactPhone ContactPhone Class

Definition

Represents information about the phone for a contact.

public : sealed class ContactPhone : IContactPhone
struct winrt::Windows::ApplicationModel::Contacts::ContactPhone : IContactPhone
public sealed class ContactPhone : IContactPhone
Public NotInheritable Class ContactPhone Implements IContactPhone
var contactPhone = new contactPhone();
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
contactsSystem

Remarks

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

Constructors

ContactPhone() ContactPhone() ContactPhone() ContactPhone() ContactPhone()

Initializes a new instance of a ContactPhone class.

Properties

Description 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.

Kind Kind Kind Kind Kind

Gets and sets the kind of phone for a contact.

Number 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.

See Also