是否可以在web.config中的Custom ConfigurationElement类上使用configSource属性?

时间:2009-11-12 12:13:22

标签: asp.net web-config configsource

我知道可以为配置部分引用外部配置文件,但我想更进一步,从配置元素引用配置文件。

<CustomConfigSection>
<Plugins>
<Plugin configSource="plugin.config"/>
<Plugin configSource="another_plugin.config"/>
</Plugins>
</CustomConfigSection>

1 个答案:

答案 0 :(得分:0)