Share via


CurrentApp.AppId 屬性

定義

取得 Windows 市集在應用程式通過認證以在 Windows 市集中列出時,由 Windows 市集產生的 GUID

注意

一旦您的應用程式位於 Windows 市集,未來的應用程式更新或變更應用程式描述將不會產生 CurrentApp.AppId 的變更。

public:
 static property Platform::Guid AppId { Platform::Guid get(); };
static winrt::guid AppId();
public static Guid AppId { get; }
var guid = CurrentApp.appId;
Public Shared ReadOnly Property AppId As Guid

屬性值

Guid

Platform::Guid

winrt::guid

識別 Windows 市集中應用程式的 GUID

備註

若要在參考相同 GUID的 Windows 市集中取得應用程式的連結,請使用 LinkUri

適用於