Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
Configuration Class
 Configuration Members

  Switch on low bandwidth view
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
Configuration Members

Represents a configuration file applicable to a particular computer, application, or resource. This class cannot be inherited.

The Configuration type exposes the following members.

  NameDescription
Public methodEquals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public methodGetSectionReturns the specified ConfigurationSection object.
Public methodGetSectionGroupGets the specified ConfigurationSectionGroup object.
Public methodGetType Gets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodSaveOverloaded. Writes the configuration settings contained within this Configuration object to the current XML configuration file.
Public methodSaveAsOverloaded. Writes the configuration settings contained within this Configuration object to the specified XML configuration file.
Public methodToString Returns a String that represents the current Object. (Inherited from Object.)
Top
  NameDescription
Public propertyAppSettingsGets the AppSettingsSection object configuration section that applies to this Configuration object.
Public propertyConnectionStringsGets a ConnectionStringsSection configuration-section object that applies to this Configuration object.
Public propertyEvaluationContextGets the ContextInformation object for the Configuration object.
Public propertyFilePathGets the physical path to the configuration file represented by this Configuration object.
Public propertyHasFileGets a value that indicates whether a file exists for the resource represented by this Configuration object.
Public propertyLocationsGets the locations defined within this Configuration object.
Public propertyNamespaceDeclaredGets or sets a value indicating whether the configuration file has an XML namespace.
Public propertyRootSectionGroupGets the root ConfigurationSectionGroup for this Configuration object.
Public propertySectionGroupsGets a collection of the section groups defined by this configuration.
Public propertySectionsGets a collection of the sections defined by this Configuration object.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker