StoreAvailability.StoreId 屬性

定義

從 Microsoft Store 目錄取得目前 SKU 可用性的市集識別碼。

public:
 property Platform::String ^ StoreId { Platform::String ^ get(); };
winrt::hstring StoreId();
public string StoreId { get; }
var string = storeAvailability.storeId;
Public ReadOnly Property StoreId As String

屬性值

String

Platform::String

winrt::hstring

Microsoft Store 目錄目前 SKU 可用性的市集識別碼。

備註

此屬性傳回的市集識別碼格式為< 產品市集 >/< 識別碼 SKU 市集識別碼 >/< 可用性市集識別碼 >,其中:

  • < product Store ID >是 12 個字元的 Alpha-numeric 字串,例如 9NBLGGH69M0B。 此市集識別碼可在合作夥伴中心取得,並由相關StoreProduct 物件的 StoreId屬性傳回。
  • < SKU 市集識別碼 >是識別 SKU 的 4 個字元 Alpha 數位字串。
  • < availability Store 識別碼 >是識別可用性的 12 個字元 Alpha-numeric 字串。 此屬性傳回的完整市集識別碼範例為 9NBLGGH69M0B/000N/4KW6QZD2VN6X。

適用於