LocalLocation LocalLocation LocalLocation LocalLocation Class

Definition

Represents a 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 : sealed class LocalLocation : ILocalLocation, ILocalLocation2public sealed class LocalLocation : ILocalLocation, ILocalLocation2Public NotInheritable Class LocalLocation Implements ILocalLocation, ILocalLocation2// This API is not available in Javascript.
Attributes
Windows 10 requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.10240.0) Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Services.Maps.LocalSearchContract (introduced v1)

Properties

Address Address Address Address

Gets the postal address 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 : MapAddress Address { get; }public MapAddress Address { get; }Public ReadOnly Property Address As MapAddress// This API is not available in Javascript.
Value
MapAddress MapAddress MapAddress MapAddress

The postal address of the business or place.

Category Category Category Category

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 : PlatForm::String Category { get; }public string Category { get; }Public ReadOnly Property Category As string// This API is not available in Javascript.
Value
PlatForm::String string string string

The category of this location.

Additional features and requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.14393.0) Windows Mobile Extension SDK (introduced v10.0.14393.0) Windows Team Extension SDK (introduced v10.0.14393.0)
API contract
Windows.Services.Maps.LocalSearchContract (introduced v3)

DataAttribution DataAttribution DataAttribution DataAttribution

Gets the name of the data source that provided the business or place information.

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 : PlatForm::String DataAttribution { get; }public string DataAttribution { get; }Public ReadOnly Property DataAttribution As string// This API is not available in Javascript.
Value
PlatForm::String string string string

The name of the data source that provided the business or place information.

Description Description Description Description

Gets the description 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 : PlatForm::String Description { get; }public string Description { get; }Public ReadOnly Property Description As string// This API is not available in Javascript.
Value
PlatForm::String string string string

The description of the business or place.

DisplayName DisplayName DisplayName DisplayName

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 : PlatForm::String DisplayName { get; }public string DisplayName { get; }Public ReadOnly Property DisplayName As string// This API is not available in Javascript.
Value
PlatForm::String string string string

The name of the business or place.

HoursOfOperation HoursOfOperation HoursOfOperation HoursOfOperation

Gets the hours of operation 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 : IVectorView<LocalLocationHoursOfOperationItem> HoursOfOperation { get; }public IReadOnlyList<LocalLocationHoursOfOperationItem> HoursOfOperation { get; }Public ReadOnly Property HoursOfOperation As IReadOnlyList<LocalLocationHoursOfOperationItem>// This API is not available in Javascript.
Value
IVectorView<LocalLocationHoursOfOperationItem> IReadOnlyList<LocalLocationHoursOfOperationItem> IReadOnlyList<LocalLocationHoursOfOperationItem> IReadOnlyList<LocalLocationHoursOfOperationItem>

The hours of operation of this location.

Additional features and requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.14393.0) Windows Mobile Extension SDK (introduced v10.0.14393.0) Windows Team Extension SDK (introduced v10.0.14393.0)
API contract
Windows.Services.Maps.LocalSearchContract (introduced v3)

Identifier Identifier Identifier Identifier

Gets the search result identifier 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 : PlatForm::String Identifier { get; }public string Identifier { get; }Public ReadOnly Property Identifier As string// This API is not available in Javascript.
Value
PlatForm::String string string string

The search result identifier of the business or place.

PhoneNumber PhoneNumber PhoneNumber PhoneNumber

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 : PlatForm::String PhoneNumber { get; }public string PhoneNumber { get; }Public ReadOnly Property PhoneNumber As string// This API is not available in Javascript.
Value
PlatForm::String string string string

The phone number of the business or place.

Point Point Point Point

Gets the geographic location 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 : Geopoint Point { get; }public Geopoint Point { get; }Public ReadOnly Property Point As Geopoint// This API is not available in Javascript.
Value
Geopoint Geopoint Geopoint Geopoint

The geographic location of the business or place.

RatingInfo RatingInfo RatingInfo RatingInfo

Gets the rating information of this 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 : LocalLocationRatingInfo RatingInfo { get; }public LocalLocationRatingInfo RatingInfo { get; }Public ReadOnly Property RatingInfo As LocalLocationRatingInfo// This API is not available in Javascript.
Additional features and requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.14393.0) Windows Mobile Extension SDK (introduced v10.0.14393.0) Windows Team Extension SDK (introduced v10.0.14393.0)
API contract
Windows.Services.Maps.LocalSearchContract (introduced v3)