0
Answer

Values of SettingsFile

Pat LeRoque

Pat LeRoque

18y
2k
1
I've got a Settings File (called RegistrySettings) which includes some StringCollections each StringCollection contains 3 Values. Now i want to get the Values out of the Properties. [csharp] public void RegSetsReflection() { System.Reflection.PropertyInfo[] pi = null; RegistrySettings rs = new RegistrySettings(); pi = rs.GetType().GetProperties(BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly); foreach (PropertyInfo p in pi) { //What Can i do to get the Values out of the properties } [/csharp] Can anyone help ?
Next Recommended Forum