I'm not sure where you're looking, and therefore where you "saw" what you
saw. Since I don't know what resources you have available locally, I can
only point you to some references online.
First, the documentation for the .Net Framework 2.0 can be found at:
http://msdn2.microsoft.com/en-us/library/default.aspx
Notice that this is MSDN2, not MSDN.
Here are several other salient points of interest with regards to working
with Configuration in .Net 2.0:
http://msdn2.microsoft.com/en-us/library/kza1yk3a(VS.80).aspx
http://msdn2.microsoft.com/en-us/library/sbk7ee6x(VS.80).aspx
http://msdn2.microsoft.com/en-us/library/system.configuration(VS.80).aspx
http://msdn2.microsoft.com/en-us/library/1fk1t1t0(VS.80).aspx
Now, as to the specifics, you will want to look over the
System.Configuration Namespace:
http://msdn2.microsoft.com/en-us/library/system.configuration(VS.80).aspx
There are several classes in particular that you will work with most often:
http://msdn2.microsoft.com/en-us/library/system.configuration.configuration(VS.80).aspx
( Look for the sample code included)
http://msdn2.microsoft.com/en-us/library/system.configuration.configurationelement(VS.80).aspx
( Look for the sample code included)
http://msdn2.microsoft.com/en-us/li...on.configurationelementcollection(VS.80).aspx
( Look for the sample code included)
http://msdn2.microsoft.com/en-us/library/system.configuration.configurationmanager(VS.80).aspx
( Look for the sample code included)
http://msdn2.microsoft.com/en-us/library/system.configuration.configurationsection(VS.80).aspx
( Look for the sample code included)
http://msdn2.microsoft.com/en-us/li...on.configurationsectioncollection(VS.80).aspx
( Look for the sample code included)
http://msdn2.microsoft.com/en-us/library/system.configuration.configurationsectiongroup(VS.80).aspx
( Look for the sample code included)
http://msdn2.microsoft.com/en-us/li...nfigurationsectiongroupcollection(VS.80).aspx
( Look for the sample code included)
http://msdn2.microsoft.com/en-us/library/system.configuration.configurationsettings(VS.80).aspx
( Look for the sample code included)
These are your major players. the .Net Framework 2.0 has a much more
powerful and strongly-typed Configuration model. You will need to create
some custom Configuration classes to work with your custom Configuration
Sections.
The bottom-most class is the ConfigurationElement class, which is used for
individual Configuration Elements, at the lowest node level of the XML.
Above this, you have the ConfigurationElementCollection, which manages a
collection of ConfigurationElements.
Generally, you will also need a ConfigurationSection, and possibly a
ConfigurationSectionGroup class to group your ConfigurationElements into
Sections.
--
HTH,
Kevin Spencer
Microsoft MVP
Professional Numbskull
Show me your certification without works,
and I'll show my certification
*by* my works.