CoreApplication.Id 屬性

定義

取得進程的套件相對應用程式識別碼。

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

屬性值

String

Platform::String

winrt::hstring

進程的套件相對應用程式識別碼。

備註

Windows Phone 8

只有原生應用程式才支援此 API。

適用於