ConfigurationSourceHandler.DoCheckGetSection Method
When overridden in a derived class, checks whether a call to GetSection(String) should be extended.
If the call should be extended performs the extended behavior and returns the modified ConfigurationSection intance.
If the call should not be extended returns configurationSection.
Namespace: Microsoft.Practices.EnterpriseLibrary.Common.Configuration
Assembly: Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll)
Syntax
'Declaration
Protected Overridable Function DoCheckGetSection ( _
sectionName As String, _
configurationSection As ConfigurationSection _
) As ConfigurationSection
protected virtual ConfigurationSection DoCheckGetSection(
string sectionName,
ConfigurationSection configurationSection
)
protected:
virtual ConfigurationSection^ DoCheckGetSection(
String^ sectionName,
ConfigurationSection^ configurationSection
)
protected function DoCheckGetSection(
sectionName : String,
configurationSection : ConfigurationSection
) : ConfigurationSection
Parameters
- sectionName
Type: System.String
The name of the section that was retrieved from configuration.
- configurationSection
Type: System.Configuration.ConfigurationSection
The section that was retrieved from configuration.
Return Value
The ConfigurationSection instance passed as configurationSection.
See Also
ConfigurationSourceHandler Class
Microsoft.Practices.EnterpriseLibrary.Common.Configuration Namespace