ApexLumia.SettingsItems.SettingsItems C# (CSharp) Method

SettingsItems() public method

Constructor: Grabs saved settings from Isolated Storage and loads the value of this new setting.
public SettingsItems ( string id, string name, object defaultvalue ) : System
id string Used as the key for saving the setting value in IsolatedStorage.
name string Readable name for display on the settings page
defaultvalue object The default value for the setting.
return System
        public SettingsItems(string id, string name, object defaultvalue)
        {
            savedSettings = IsolatedStorageSettings.ApplicationSettings;

            this._settingID = id;
            this._settingName = name;
            this._settingDefaultValue = defaultvalue;

            Load();
        }