Share via


PlaceInfoHelper Klasse

Definition

Erstellt PlaceInfo-Instanzen mithilfe von Unternehmen und Orten in Suchvorgängen, die für Daten ausgeführt werden, die lokal auf dem Gerät zwischengespeichert wurden.

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
Vererbung
Object Platform::Object IInspectable PlaceInfoHelper
Attribute

Windows-Anforderungen

Gerätefamilie
Windows Desktop Extension SDK (eingeführt in 10.0.16299.0)
Windows Mobile Extension SDK (eingeführt in 10.0.16299.0)
Windows Team Extension SDK (eingeführt in 10.0.16299.0)
Windows 10, version 1809 (eingeführt in 10.0.17763.0)
API contract
Windows.Services.Maps.LocalSearchContract (eingeführt in v4.0)

Methoden

CreateFromLocalLocation(LocalLocation)

Erstellt eine PlaceInfo-instance.

Gilt für: