ACAccountStore.FindAccountType(String) Method

Definition

Returns the ACAccountType identified by the typeIdentifier.

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

Parameters

typeIdentifier
String

Account-type name. Use static properties of ACAccountType.

Returns

The requested ACAccountType or null if the typeIdentifier is invalid.

Attributes

Remarks

The typeIdentifier should be one of the static properties of ACAccountType:

Applies to