Share via


PhoneDialOptions.Number Property

Definition

Gets or sets the phone number to dial.

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 = phoneDialOptions.number;
phoneDialOptions.number = string;
Public Property Number As String

Property Value

String

Platform::String

winrt::hstring

The phone number to dial.

Windows requirements

App capabilities
phoneCallHistory phoneCallHistorySystem

Remarks

If no number is specified in this property, the system will attempt to get the number automatically from the associated ContactPhone instance. Otherwise, this Number will take precedence.

Applies to