WalletItemStore.DeleteAsync(String) 方法

定義

警告

不再支援 ApplicationModel.Wallet 命名空間,且即將淘汰。 我們鼓勵開發人員避免使用此命名空間。

從電子錢包資料存放區中移除具有指定識別碼的特定電子錢包專案。

public:
 virtual IAsyncAction ^ DeleteAsync(Platform::String ^ id) = DeleteAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction DeleteAsync(winrt::hstring const& id);
/// [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")]
IAsyncAction DeleteAsync(winrt::hstring const& id);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction DeleteAsync(string id);
[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 IAsyncAction DeleteAsync(string id);
function deleteAsync(id)
Public Function DeleteAsync (id As String) As IAsyncAction

參數

id
String

Platform::String

winrt::hstring

要從資料存放區中移除之電子錢包專案的識別碼。

傳回

非同步動作。 如果您使用 非同步程式設計,則結果類型為 void

屬性

適用於

另請參閱