共用方式為


GuidanceRoadSegment.Id 屬性

定義

取得道路線段的標識碼。

注意

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

public:
 property Platform::String ^ Id { Platform::String ^ get(); };
winrt::hstring Id();
public string Id { get; }
var string = guidanceRoadSegment.id;
Public ReadOnly Property Id As String

屬性值

String

Platform::String

winrt::hstring

道路區段的標識碼。

適用於