Dela via


LocalLocation.DisplayName Property

Definition

Gets the name 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 ^ DisplayName { Platform::String ^ get(); };
winrt::hstring DisplayName();
public string DisplayName { get; }
var string = localLocation.displayName;
Public ReadOnly Property DisplayName As String

Property Value

String

Platform::String

winrt::hstring

The name of the business or place.

Applies to