从web.config中的appsettings读取文件属性

时间:2016-10-09 10:12:28

标签: c# .net web-config app-config

在我的web.config中,我有以下

<appSettings file="C:\\Config\\myproj\\Appsettings.Config">

文件属性不在NameValueCollection下,所以如何读取文件属性? 我想读取这个属性,然后执行一些操作。

1 个答案:

答案 0 :(得分:0)

这应该为您提供AppSettings文件属性的文件路径:

c++