
Untitled
By: a guest on
Apr 24th, 2012 | syntax:
None | size: 0.84 KB | hits: 12 | expires: Never
Isolated Storage Setting issue
var names = IsolatedStorageSettings.ApplicationSettings; // Here it showing an error that
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;
using System.IO.IsolatedStorage;
using System.IO;
namespace IsolatedStorageSettings
{
public partial class MainPage : PhoneApplicationPage
{
// Constructor
public MainPage()
{
InitializeComponent();
var names = IsolatedStorageSettings.ApplicationSettings;
names.Add("myName", "Developer John");
displayText.Text = names["myName"].ToString();
}
}
}