Dela via


PhoneCallOriginDataRequestTriggerDetails.PhoneNumber Property

Definition

Gets the phone number for the origin of the phone call.

public:
 property Platform::String ^ PhoneNumber { Platform::String ^ get(); };
winrt::hstring PhoneNumber();
/// [get: Windows.Foundation.Metadata.Deprecated("PhoneCallOriginDataRequestTriggerDetails is deprecated and might not work for all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.ApplicationModel.Calls.Background.CallsBackgroundContract")]
winrt::hstring PhoneNumber();
public string PhoneNumber { get; }
public string PhoneNumber { [Windows.Foundation.Metadata.Deprecated("PhoneCallOriginDataRequestTriggerDetails is deprecated and might not work for all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.ApplicationModel.Calls.Background.CallsBackgroundContract")] get; }
var string = phoneCallOriginDataRequestTriggerDetails.phoneNumber;
Public ReadOnly Property PhoneNumber As String

Property Value

String

Platform::String

winrt::hstring

The phone number of the phone call origin.

Attributes

Windows requirements

App capabilities
phoneCallHistory phoneCallHistorySystem

Applies to