WalletItemStore.GetItemsAsync Method

Definition

Overloads

GetItemsAsync()

Caution

The ApplicationModel.Wallet namespace is no longer supported, and will soon be deprecated. Developers are encouraged to avoid using this namespace.

Returns the collection of all wallet items owned by this app.

GetItemsAsync(WalletItemKind)

Caution

The ApplicationModel.Wallet namespace is no longer supported, and will soon be deprecated. Developers are encouraged to avoid using this namespace.

Returns the collection of wallet items of the given type that are owned by this app.

GetItemsAsync()

Caution

The ApplicationModel.Wallet namespace is no longer supported, and will soon be deprecated. Developers are encouraged to avoid using this namespace.

Returns the collection of all wallet items owned by this app.

public:
 virtual IAsyncOperation<IVectorView<WalletItem ^> ^> ^ GetItemsAsync() = GetItemsAsync;
/// [Windows.Foundation.Metadata.Overload("GetItemsAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVectorView<WalletItem>> GetItemsAsync();
/// [Windows.Foundation.Metadata.Overload("GetItemsAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("IWalletItemStore is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
IAsyncOperation<IVectorView<WalletItem>> GetItemsAsync();
[Windows.Foundation.Metadata.Overload("GetItemsAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyList<WalletItem>> GetItemsAsync();
[Windows.Foundation.Metadata.Overload("GetItemsAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("IWalletItemStore 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<IReadOnlyList<WalletItem>> GetItemsAsync();
function getItemsAsync()
Public Function GetItemsAsync () As IAsyncOperation(Of IReadOnlyList(Of WalletItem))

Returns

An asynchronous operation that, on successful completion, returns the collection of wallet items accessible by this app. If you use Asynchronous programming, the result type is a read-only list/vector of WalletItem items. (You can use APIs of IVectorView<WalletItem> for C++ or JavaScript, APIs of IReadOnlyList for .NET.)

Attributes

See also

Applies to

GetItemsAsync(WalletItemKind)

Caution

The ApplicationModel.Wallet namespace is no longer supported, and will soon be deprecated. Developers are encouraged to avoid using this namespace.

Returns the collection of wallet items of the given type that are owned by this app.

public:
 virtual IAsyncOperation<IVectorView<WalletItem ^> ^> ^ GetItemsAsync(WalletItemKind kind) = GetItemsAsync;
/// [Windows.Foundation.Metadata.Overload("GetItemsWithKindAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVectorView<WalletItem>> GetItemsAsync(WalletItemKind const& kind);
/// [Windows.Foundation.Metadata.Overload("GetItemsWithKindAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("IWalletItemStore is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
IAsyncOperation<IVectorView<WalletItem>> GetItemsAsync(WalletItemKind const& kind);
[Windows.Foundation.Metadata.Overload("GetItemsWithKindAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyList<WalletItem>> GetItemsAsync(WalletItemKind kind);
[Windows.Foundation.Metadata.Overload("GetItemsWithKindAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("IWalletItemStore 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<IReadOnlyList<WalletItem>> GetItemsAsync(WalletItemKind kind);
function getItemsAsync(kind)
Public Function GetItemsAsync (kind As WalletItemKind) As IAsyncOperation(Of IReadOnlyList(Of WalletItem))

Parameters

kind
WalletItemKind

The type of wallet item to retrieve.

Returns

An asynchronous operation that, on successful completion, returns the collection of wallet items of the specified type that are accessible by this app. If you use Asynchronous programming, the result type is a read-only list/vector of WalletItem items. (You can use APIs of IVectorView<WalletItem> for C++ or JavaScript, APIs of IReadOnlyList for .NET.)

Attributes

Applies to