共用方式為


LicenseManager.AddLicenseAsync(IBuffer) 方法

定義

安裝指定的應用程式授權。

public:
 static IAsyncAction ^ AddLicenseAsync(IBuffer ^ license);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncAction AddLicenseAsync(IBuffer const& license);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction AddLicenseAsync(IBuffer license);
function addLicenseAsync(license)
Public Shared Function AddLicenseAsync (license As IBuffer) As IAsyncAction

參數

license
IBuffer

要安裝的授權內容。

傳回

物件,表示安裝作業。

屬性

Windows 需求

應用程式功能
storeLicenseManagement

適用於