ApplicationDataStorageHelper.Save Method
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.
Overloads
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 and for groups of settings which need to be treated in an atomic way. |
Save<T>(String, T) |
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 and for groups of settings which need to be treated in an atomic way.
public void Save<T> (string compositeKey, System.Collections.Generic.IDictionary<string,T> values);
member this.Save : string * System.Collections.Generic.IDictionary<string, 'T> -> unit
Public Sub Save(Of T) (compositeKey As String, values As IDictionary(Of String, T))
Type Parameters
- T
Type of object saved.
Parameters
- compositeKey
- String
Key of the composite (that contains settings).
- values
- IDictionary<String,T>
Objects to save.
Applies to
Save<T>(String, T)
public void Save<T> (string key, T value);
abstract member Save : string * 'T -> unit
override this.Save : string * 'T -> unit
Public Sub Save(Of T) (key As String, value As T)
Type Parameters
- T
Parameters
- key
- String
- value
- T