ACAccountStore.FindAccounts(ACAccountType) 方法

定义

检索 由 参数指定的accountType类型的 数组ACAccount

[Foundation.Export("accountsWithAccountType:")]
public virtual Accounts.ACAccount[] FindAccounts (Accounts.ACAccountType accountType);
abstract member FindAccounts : Accounts.ACAccountType -> Accounts.ACAccount[]
override this.FindAccounts : Accounts.ACAccountType -> Accounts.ACAccount[]

参数

accountType
ACAccountType

所需的 ACAccountType

返回

(可能为空的) 数组 ACAccount

属性

注解

此函数通常使用以下成语调用: store.FindAccounts(store.FindAccountType(ACAccountType.Twitter));

适用于

另请参阅