我想读的的app.config
C#的窗口服务的自定义XML部分。
我要如何做呢?
该XML是如下:
<图书>
<图书名称=名称1标题=TITLE1/>
<图书名称=名称2标题=标题2/>
< /图书>
解决方案
您想要做的是阅读上的自定义配置节的。
I want to read the custom XML section from the app.config
of a C# windows service.
How do I go about it?
The XML is below:
<Books>
<Book name="name1" title="title1"/>
<Book name="name2" title="title2"/>
</Books>
解决方案
What you want to do is read up on Custom Configuration Sections.