ContactPhone.Number Property

Definition

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

public:
 property Platform::String ^ Number { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Number();

void Number(winrt::hstring value);
public string Number { get; set; }
var string = contactPhone.number;
contactPhone.number = string;
Public Property Number As String

Property Value

String

Platform::String

winrt::hstring

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

Windows requirements

App capabilities
contactsSystem

Applies to