Share via


PlaceInfoHelper Class

Definition

Creates PlaceInfo instances by using businesses and places found in searches that are performed against data that has been cached locally on the device.

public ref class PlaceInfoHelper abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Services.Maps.LocalSearchContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PlaceInfoHelper final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Services.Maps.LocalSearchContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class PlaceInfoHelper
Public Class PlaceInfoHelper
Inheritance
Object Platform::Object IInspectable PlaceInfoHelper
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.16299.0)
Windows Mobile Extension SDK (introduced in 10.0.16299.0)
Windows Team Extension SDK (introduced in 10.0.16299.0)
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Services.Maps.LocalSearchContract (introduced in v4.0)

Methods

CreateFromLocalLocation(LocalLocation)

Creates a PlaceInfo instance.

Applies to