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
Post a Comment