Share via


StorageKind Enumeration

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

Specifies the possible sources of user contact and calendar data.

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

Syntax

Public Enumeration StorageKind
public enum StorageKind
<object property="enumerationValue" .../>

Members

Member name Description
Phone Data comes from the phone itself.
WindowsLive Data comes from a Microsoft account (formerly known as a Windows Live ID).
Outlook Data comes from a Microsoft Outlook account.
Facebook Data comes from a Facebook account.
Other Data comes from some other location.

Remarks

The default value is Phone.

Windows Phone provides an aggregated view of the user’s contact and calendar data across the user's different accounts. Information can come from sources such as data entered in the phone itself, social networking sites, and other data service providers.

Not all data from all service providers is exposed publicly through this API. For information about what data is available from each provider, see Contacts and Calendar for Windows Phone 8.

Capabilities

If you use this API in your app, you must specify the following capabilities in the app manifest. Otherwise, your app might not work correctly or it might exit unexpectedly.

ID_CAP_CONTACTS

Windows Phone 8

ID_CAP_APPOINTMENTS

Windows Phone 8

For more info, see App capabilities and hardware requirements for Windows Phone 8.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

Microsoft.Phone.UserData Namespace