Share via


ProductListing.ProductId 屬性

定義

取得這個 ProductListing 所代表之附加元件的產品識別碼。

public:
 property Platform::String ^ ProductId { Platform::String ^ get(); };
winrt::hstring ProductId();
public string ProductId { get; }
var string = productListing.productId;
Public ReadOnly Property ProductId As String

屬性值

String

Platform::String

winrt::hstring

附加元件的產品識別碼。

備註

產品識別碼是應用程式用來識別附加元件的字串。 您在合作夥伴中心提交附加元件時輸入產品識別碼,其中它與描述、價格區間和存留期相關聯。 如需詳細資訊,請參閱 如何在程式碼中使用附加元件的產品識別碼。

適用於