P
Patrick
Hi
I want tu use an app.config like the example below. The problem is, that i
don't know how many Action-Tags there will be, because this can be changed
by the user. When using
System.Configuration.ConfigurationSettings.GetConfig("IncomingActions/action
") I can access the config file, but get only the values of the Last
Action-Tag.
Does someone know, how to implement that using the app.config file?
Thanks
Patrick
<configSections>
<sectionGroup name="IncomingActions">
<section name="action"
type="System.Configuration.SingleTagSectionHandler" />
</sectionGroup>
</configSections>
<IncomingActions>
<action From="Value11" Message="value two1" Command="third value1"
Confirm="y" />
<action From="Value21" Message="value two2" Command="third value2"
Confirm="y" />
<action From="Value31" Message="value two3" Command="third value3"
Confirm="y" />
<action From="Value41" Message="value two4" Command="third value4"
Confirm="y" />
</IncomingActions>
I want tu use an app.config like the example below. The problem is, that i
don't know how many Action-Tags there will be, because this can be changed
by the user. When using
System.Configuration.ConfigurationSettings.GetConfig("IncomingActions/action
") I can access the config file, but get only the values of the Last
Action-Tag.
Does someone know, how to implement that using the app.config file?
Thanks
Patrick
<configSections>
<sectionGroup name="IncomingActions">
<section name="action"
type="System.Configuration.SingleTagSectionHandler" />
</sectionGroup>
</configSections>
<IncomingActions>
<action From="Value11" Message="value two1" Command="third value1"
Confirm="y" />
<action From="Value21" Message="value two2" Command="third value2"
Confirm="y" />
<action From="Value31" Message="value two3" Command="third value3"
Confirm="y" />
<action From="Value41" Message="value two4" Command="third value4"
Confirm="y" />
</IncomingActions>