c# - IsolatedStorageSettings in wpf -


i converting silverlight application wpf application.

in silverlight application have this

    private static isolatedstoragesettings usersettings = isolatedstoragesettings.applicationsettings;      public static string division     {                 {             if (usersettings.propertyvalues["division"] != null)             {                 return (string)usersettings["division"];             }             else             {                 return string.empty;             }         }         set         {             if (usersettings.propertyvalues["division"] != null)             {                 usersettings["division"] = value;             }             else             {                 usersettings.divison = value;             }         }     } 

but when copying class wpf project error

the type or namespace 'isolatedstoragesettings' not found (are missing using directive or assembly reference)

i have got using statement

 using system.io.isolatedstorage; 

at top of class still no luck. if class not exist in wpf there alternative?


Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -