ACAccountStore.FindAccounts(ACAccountType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- ACAccountType
- <xref:Accounts.ACAccountStore.FindAccountType>