Hi,
Are you using the Client Settings (created with the Settings Designer)? In
other words, you have a strong typed settings class and you access the
settings via strong typed property name:
Settings.Default.MyProperty
If this is the case, then the AppSettings will not help here since it's
using different approaches.
To get the property name list, you can use Settings.Default.Properties to
iterate them:
foreach (SettingsProperty sp in Settings.Default.Properties)
{
Console.WriteLine(sp.Name);
}
After you get the property name, then you can use reflection on the
Settings.Default object to get the property value. You can also use
SettingsProperty.DefaultValue to get the default value when you input in
the settings designer.
Regards,
Walter Wang (
[email protected], remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.