次の方法で共有


LicenseRefreshOption 列挙型

定義

LicenseManager.RefreshLicensesAsync メソッドで使用できる値を定義して、現在のデバイスで更新するアプリ ライセンスを指定します。

public enum class LicenseRefreshOption
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
enum class LicenseRefreshOption
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public enum LicenseRefreshOption
var value = Windows.ApplicationModel.Store.LicenseManagement.LicenseRefreshOption.runningLicenses
Public Enum LicenseRefreshOption
継承
LicenseRefreshOption
属性

Windows の要件

デバイス ファミリ
Windows 10 Creators Update (10.0.15063.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v4.0 で導入)

フィールド

AllLicenses 1

デバイス上のすべてのアプリ ライセンスを更新します。

RunningLicenses 0

現在実行中のアプリのライセンスのみを更新します。

適用対象