次の方法で共有


LicenseInformation.ProductLicenses プロパティ

定義

ユーザーが現在権利を持っているアプリ内製品のライセンスの関連付けられた一覧を取得します。

public:
 property IMapView<Platform::String ^, ProductLicense ^> ^ ProductLicenses { IMapView<Platform::String ^, ProductLicense ^> ^ get(); };
IMapView<winrt::hstring, ProductLicense const&> ProductLicenses();
public IReadOnlyDictionary<string,ProductLicense> ProductLicenses { get; }
var iMapView = licenseInformation.productLicenses;
Public ReadOnly Property ProductLicenses As IReadOnlyDictionary(Of String, ProductLicense)

プロパティ値

機能ライセンスの連想リスト。

注釈

ユーザーがアプリ内製品を利用できるかどうかを判断するには、ProductLicense オブジェクトの IsActive プロパティを使用します。

重要

返される ProductLicense オブジェクトの一覧は、ユーザーが現在権利を持つすべてのアプリ内製品 (IsActive = true) を常に表します。 ただし、このリストには、ユーザーが現在権利を持っていない製品 (IsActive = false) の ProductLicense オブジェクトも含まれている場合と含まれていない場合があります。

適用対象