Share via


Contact.Accounts Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the data sources associated with this contact.

Namespace:  Microsoft.Phone.UserData
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

Syntax

Public ReadOnly Property Accounts As IEnumerable(Of Account)
public IEnumerable<Account> Accounts { get; }

Property Value

Type: System.Collections.Generic..::.IEnumerable<(Of <(Account>)>)
The data sources associated with this contact.

Remarks

The data sources associated with this contact are the service providers from which data was aggregated to form the contact. The StorageKind enumeration lists the possible sources of data.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

Contact Class

Microsoft.Phone.UserData Namespace

Other Resources

Contacts and Calendar for Windows Phone 8

How to access contact data for Windows Phone 8