Pat LeRoque

Pat LeRoque

  • NA
  • 1
  • 0

Values of SettingsFile

Mar 12 2006 1:24 PM
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 ?