Partager via


ConfigurationSourceSection.GetConfigurationSourceSection Method

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Returns the ConfigurationSourceSection from the application's default configuration file.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Common.Configuration
Assembly:  Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll)

Syntax

'Declaration
PublicSharedFunctionGetConfigurationSourceSectionAs ConfigurationSourceSection
publicstatic ConfigurationSourceSection GetConfigurationSourceSection()
public:
static ConfigurationSourceSection^ GetConfigurationSourceSection()
publicstaticfunctionGetConfigurationSourceSection() : ConfigurationSourceSection

Return Value

The section from the configuration file, or nulla null reference (Nothing in Visual Basic) (Nothing in Visual Basic) if the section is not present in the configuration file.

See Also

ConfigurationSourceSection Class

Microsoft.Practices.EnterpriseLibrary.Common.Configuration Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.