C# Class InTheHand.Storage.ApplicationDataContainer

Represents a container for app settings. The methods and properties of this class support creating, deleting, enumerating, and traversing the container hierarchy.
PlatformVersion supported AndroidAndroid 4.4 and later iOSiOS 9.0 and later tvOStvOS 9.0 and later TizenTizen 3.0 Windows UWPWindows 10 Windows StoreWindows 8.1 or later Windows Phone StoreWindows Phone 8.1 or later Windows Phone SilverlightWindows Phone 8.0 or later Windows (Desktop Apps)Windows Vista or later
显示文件 Open project: inthehand/Charming

Public Methods

Method Description
CreateContainer ( string name, ApplicationDataCreateDisposition disposition ) : ApplicationDataContainer

Creates or opens the specified settings container in the current settings container.

On iOS the name must be a value Shared App Group name and disposition must be Existing.

Private Methods

Method Description
ApplicationDataContainer ( ApplicationDataLocality locality, string name ) : System
ApplicationDataContainer ( Windows container ) : System

Method Details

CreateContainer() public method

Creates or opens the specified settings container in the current settings container.
On iOS the name must be a value Shared App Group name and disposition must be Existing.
public CreateContainer ( string name, ApplicationDataCreateDisposition disposition ) : ApplicationDataContainer
name string The name of the container.
disposition ApplicationDataCreateDisposition One of the enumeration values.
return ApplicationDataContainer