ACAccountStore.FindAccountType(String) 方法

定义

返回 ACAccountType 由 标识的 typeIdentifier

[Foundation.Export("accountTypeWithAccountTypeIdentifier:")]
public virtual Accounts.ACAccountType FindAccountType (string typeIdentifier);
abstract member FindAccountType : string -> Accounts.ACAccountType
override this.FindAccountType : string -> Accounts.ACAccountType

参数

typeIdentifier
String

帐户类型名称。 使用 的 ACAccountType静态属性。

返回

请求的 ACAccountType ; null 如果 无效, typeIdentifier 则为 。

属性

注解

typeIdentifier应该是 的静态属性之ACAccountType一:

适用于