ApplicationDataContainer Class
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.
Represents a container for settings. The methods and properties of this class support creating, deleting, enumerating, and traversing the container hierarchy.
public ref class ApplicationDataContainer sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.Storage.ApplicationDataContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ApplicationDataContainer final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.Storage.ApplicationDataContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ApplicationDataContainer : System.IDisposable
Public NotInheritable Class ApplicationDataContainer
Implements IDisposable
- Inheritance
- Attributes
- Implements
Properties
Containers |
Gets the child settings containers of the current settings container. |
Locality |
Gets the type of the application data store that's associated with the settings container. |
Name |
Gets the name of the current settings container. |
Values |
Gets an object that represents the settings in the settings container. |
Methods
Close() |
Closes the current settings container. |
CreateContainer(String, ApplicationDataCreateDisposition) |
Create or open the specified settings container in the settings container. |
DeleteContainer(String) |
Deletes the specified settings container, its subcontainers, and all settings in the hierarchy. |
Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |