共用方式為


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 靜態屬性。

傳回

要求的 ACAccountTypenull 如果 typeIdentifier 無效,則為 。

屬性

備註

typeIdentifier應該是 的其中一個靜態屬性 ACAccountType

適用於