As usual, the examples I find for this either don't work, or don't apply.
I want to store, essentially, a text file, within my app.config file, and access it programmatically.
Here's a simplified version:
<?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <section name="PostScript" type="" /> </configSections> <appSettings> <!-- User application and configured property settings go here.--> <!-- Example: <add key="settingName" value="settingValue"/> --> </appSettings> <PostScript> <prolog> <![CDATA[ My big long text file goes here. ]]> </prolog> </PostScript> </configuration>
1. What goes in the "type" attribute, which I've colored red?
2. How would I retrieve the "prolog" element from the "PostScript" section of this file?
Note: this is read-only, I do not need to change/set the values in the customSection as so many examples assume.