How do I use .NET custom ConfigurationElement properties on descendent elements?
问题 How can I get and use an attribute set in the parent ConfigurationSection in the descendent CustomSetting element? I need this attribute when the CustomSetting element is returning the Value property. I want to format the App.config like this: <CustomSettings someProperty="foo"> <CustomSetting key="bar" value="fermeneba" /> <CustomSetting key="laa" value="jubaduba" /> </CustomSettings> I have the code working, except that I cannot find a way to access the someProperty attribute from the