ACAccountStore.RemoveAccount 方法

定义

从帐户存储中删除指定的 account ,并在操作完成后运行完成处理程序。

[Foundation.Export("removeAccount:withCompletionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RemoveAccount (Accounts.ACAccount account, Accounts.ACAccountStoreRemoveCompletionHandler completionHandler);
abstract member RemoveAccount : Accounts.ACAccount * Accounts.ACAccountStoreRemoveCompletionHandler -> unit
override this.RemoveAccount : Accounts.ACAccount * Accounts.ACAccountStoreRemoveCompletionHandler -> unit

参数

account
ACAccount

要删除的帐户。

completionHandler
ACAccountStoreRemoveCompletionHandler

删除帐户后要运行的处理程序。

属性

适用于