共用方式為


LocalLocation.Identifier 屬性

定義

取得商務或地點的搜尋結果標識碼。

注意

此 API 不適用於所有 Windows 應用程式。 除非您的開發人員帳戶是由 Microsoft 特別布建,否則呼叫此 API 會在運行時間失敗。 如需 Windows.Services.Maps.LocalSearch 命名空間的詳細資訊,請與您的Microsoft帳戶小組代表合作。

public:
 property Platform::String ^ Identifier { Platform::String ^ get(); };
winrt::hstring Identifier();
public string Identifier { get; }
var string = localLocation.identifier;
Public ReadOnly Property Identifier As String

屬性值

String

Platform::String

winrt::hstring

商務或地點的搜尋結果標識碼。

適用於