Share via


LocalLocation.PhoneNumber Property

Definition

Gets the phone number of the business or place.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. For more information about the Windows.Services.Maps.LocalSearch namespace, please work with your Microsoft Account Team representative.

public:
 property Platform::String ^ PhoneNumber { Platform::String ^ get(); };
winrt::hstring PhoneNumber();
public string PhoneNumber { get; }
var string = localLocation.phoneNumber;
Public ReadOnly Property PhoneNumber As String

Property Value

String

Platform::String

winrt::hstring

The phone number of the business or place.

Applies to