Application.Properties Application.Properties Property

Definition

Gets a dictionary of persistent properties for this Application object.

public System.Collections.Generic.IDictionary<string,object> Properties { get; }
member this.Properties : System.Collections.Generic.IDictionary<string, obj>
Property Value

A dictionary of persistent properties for the application.

Remarks

Developers can use this property to store persistent application state across all application code. This values in the dictionary are preserved on the device when the application is paused or shut down.

Values saved in the properties dictionary must be primitive types, such as integers or strings. Attempting to save reference types, or collections in particular, can fail silently.

Applies to