【发布时间】:2011-09-21 12:28:28
【问题描述】:
我在与配置文件交互方面没有太多经验,我正在阅读 MSDN 中的 GetSection() 方法,其中指出:
**Notes to Implementers**:
You must cast the return value to the expected configuration type.
To avoid possible casting exceptions, you should use a conditional
casting operation such as...
本说明中的“配置类型”是什么意思?选择的部分不是总是代表一个 xml 节点吗?
【问题讨论】:
标签: .net xml xpath configuration-files