IObjectStorageHelper Interface
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.
Caution
IObjectStorageHelper is deprecated. Please use ISettingsStorageHelper and IFileStorageHelper interfaces instead.
Service used to store data.
public interface IObjectStorageHelper
[System.Obsolete("IObjectStorageHelper is deprecated. Please use ISettingsStorageHelper and IFileStorageHelper interfaces instead.")]
public interface IObjectStorageHelper
type IObjectStorageHelper = interface
[<System.Obsolete("IObjectStorageHelper is deprecated. Please use ISettingsStorageHelper and IFileStorageHelper interfaces instead.")>]
type IObjectStorageHelper = interface
Public Interface IObjectStorageHelper
- Derived
- Attributes
Methods
FileExistsAsync(String) |
Determines whether a file already exists. |
KeyExists(String, String) |
Determines whether a setting already exists in composite. |
KeyExists(String) |
Determines whether a setting already exists. |
Read<T>(String, String, T) |
Retrieves a single item by its key in composite. |
Read<T>(String, T) |
Retrieves a single item by its key. |
ReadFileAsync<T>(String, T) |
Retrieves an object from a file. |
Save<T>(String, IDictionary<String,T>) |
Saves a group of items by its key in a composite. This method should be considered for objects that do not exceed 8k bytes during the lifetime of the application (refers to SaveFileAsync<T>(String, T) for complex/large objects) and for groups of settings which need to be treated in an atomic way. |
Save<T>(String, T) |
Saves a single item by its key. |
SaveFileAsync<T>(String, T) |
Saves an object inside a file. |