Share via


PhoneCallOrigin.Location Property

Definition

Gets or sets the location of the caller.

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

void Location(winrt::hstring value);
/// [get: Windows.Foundation.Metadata.Deprecated("PhoneCallOrigin is deprecated and might not work for all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.ApplicationModel.Calls.CallsPhoneContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("PhoneCallOrigin is deprecated and might not work for all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.ApplicationModel.Calls.CallsPhoneContract")]
winrt::hstring Location();

void Location(winrt::hstring value);
public string Location { get; set; }
public string Location { [Windows.Foundation.Metadata.Deprecated("PhoneCallOrigin is deprecated and might not work for all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.ApplicationModel.Calls.CallsPhoneContract")] get; [Windows.Foundation.Metadata.Deprecated("PhoneCallOrigin is deprecated and might not work for all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.ApplicationModel.Calls.CallsPhoneContract")] set; }
var string = phoneCallOrigin.location;
phoneCallOrigin.location = string;
Public Property Location As String

Property Value

String

Platform::String

winrt::hstring

The caller's location.

Attributes

Windows requirements

App capabilities
phoneCallHistory phoneCallHistorySystem

Applies to