This documentation is archived and is not being maintained.
Represents a configuration file applicable to a particular computer, application, or resource. This class cannot be inherited.
The following tables list the members exposed by the Configuration type.
|AppSettings||Gets the AppSettingsSection object configuration section that applies to this Configuration object.|
|ConnectionStrings||Gets a ConnectionStringsSection configuration-section object that applies to this Configuration object.|
|EvaluationContext||Gets the ContextInformation object for the Configuration object.|
|FilePath||Gets the physical path to the configuration file represented by this Configuration object.|
|HasFile||Gets a value that indicates whether a file exists for the resource represented by this Configuration object.|
|Locations||Gets the locations defined within this Configuration object.|
|NamespaceDeclared||Gets or sets a value indicating whether the configuration file has an XML namespace.|
|RootSectionGroup||Gets the root ConfigurationSectionGroup for this Configuration object.|
|SectionGroups||Gets a collection of the section groups defined by this configuration.|
|Sections||Gets a collection of the sections defined by this configuration.|
(see also Protected Methods )
|Equals||Overloaded. Determines whether two Object instances are equal. (inherited from Object)|
|GetHashCode||Serves as a hash function for a particular type. (inherited from Object)|
|GetSection||Returns the specified ConfigurationSection object.|
|GetSectionGroup||Gets the specified ConfigurationSectionGroup object.|
|GetType||Gets the Type of the current instance. (inherited from Object)|
|ReferenceEquals||Determines whether the specified Object instances are the same instance. (inherited from Object)|
|Save||Overloaded. Writes the configuration settings contained within this Configuration object to the current XML configuration file.|
|SaveAs||Overloaded. Writes the configuration settings contained within this Configuration object to the specified XML configuration file.|
|ToString||Returns a String that represents the current Object. (inherited from Object)|