共用方式為


WalletItemSystemStore.LaunchAppForItemAsync(WalletItem) 方法

定義

啟動與指定之電子包專案相關聯的應用程式。

注意

此 API 不適用於所有 Windows 應用程式。 除非您的開發人員帳戶是由 Microsoft 特別布建,否則呼叫這些 API 會在執行時間失敗。

public:
 virtual IAsyncOperation<bool> ^ LaunchAppForItemAsync(WalletItem ^ item) = LaunchAppForItemAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> LaunchAppForItemAsync(WalletItem const& item);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("IWalletItemSystemStore is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
IAsyncOperation<bool> LaunchAppForItemAsync(WalletItem const& item);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> LaunchAppForItemAsync(WalletItem item);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("IWalletItemSystemStore is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
public IAsyncOperation<bool> LaunchAppForItemAsync(WalletItem item);
function launchAppForItemAsync(item)
Public Function LaunchAppForItemAsync (item As WalletItem) As IAsyncOperation(Of Boolean)

參數

item
WalletItem

要啟動應用程式的電子包專案。

傳回

非同步動作,表示作業已完成。

屬性

Windows 需求

應用程式功能
walletSystem

適用於