Edit

Share via


ACAccountStore.FindAccounts(ACAccountType) Method

Definition

Retrieves an array of ACAccounts of the type specified by the accountType parameter.

[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[]

Parameters

accountType
ACAccountType

The desired ACAccountType.

Returns

A (potentially empty) array of ACAccounts.

Attributes

Remarks

This function is typically called with the following idiom: store.FindAccounts(store.FindAccountType(ACAccountType.Twitter));.

Applies to

See also