共用方式為


WalletItemSystemStore.GetAppStatusForItem(WalletItem) 方法

定義

取得 WalletItemAppAssociation 值, 指出是否已為指定的 WalletItem安裝應用程式。

注意

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

public:
 virtual WalletItemAppAssociation GetAppStatusForItem(WalletItem ^ item) = GetAppStatusForItem;
WalletItemAppAssociation GetAppStatusForItem(WalletItem const& item);
/// [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")]
WalletItemAppAssociation GetAppStatusForItem(WalletItem const& item);
public WalletItemAppAssociation GetAppStatusForItem(WalletItem item);
[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 WalletItemAppAssociation GetAppStatusForItem(WalletItem item);
function getAppStatusForItem(item)
Public Function GetAppStatusForItem (item As WalletItem) As WalletItemAppAssociation

參數

item
WalletItem

要擷取狀態的專案。

傳回

WalletItemAppAssociation值,指出是否已為專案參數所指定的WalletItem安裝應用程式。

屬性

Windows 需求

應用程式功能
walletSystem

適用於