Code
public void SaveToIsolatedStorage(string pKey, string pValue)
{
IsolatedStorageSettings vAppSettings = IsolatedStorageSettings.ApplicationSettings;
{
vAppSettings[pKey] = pValue;
}
else
{
vAppSettings.Add(pKey, pValue);
}
{
string vRtn = string.Empty;
{
vRtn = vAppSettings[pKey];
}
}
public void SaveToIsolatedStorage(string pKey, string pValue)
{
IsolatedStorageSettings vAppSettings = IsolatedStorageSettings.ApplicationSettings;
if(vAppSettings.Contains(pKey))
{
vAppSettings[pKey] = pValue;
}
else
{
vAppSettings.Add(pKey, pValue);
}
vAppSettings.Save();
}
{
string vRtn = string.Empty;
IsolatedStorageSettings vAppSettings
= IsolatedStorageSettings.ApplicationSettings;if(vAppSettings.Contains(pKey))
{
vRtn = vAppSettings[pKey];
}
return vRtn;
}