LocalLocation.Category Property

Definition

Get the category of this location.

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

Property Value

String

Platform::String

winrt::hstring

The category of this location.

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.14393.0)
Windows Mobile Extension SDK (introduced in 10.0.14393.0)
Windows Team Extension SDK (introduced in 10.0.14393.0)
API contract
Windows.Services.Maps.LocalSearchContract (introduced in v3.0)

Applies to