ConfigurationSourceHandler.CheckGetSection Method
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
Public Function CheckGetSection ( _
sectionName As String, _
configurationSection As ConfigurationSection _
) As ConfigurationSection
public ConfigurationSection CheckGetSection(
string sectionName,
ConfigurationSection configurationSection
)
public:
ConfigurationSection^ CheckGetSection(
String^ sectionName,
ConfigurationSection^ configurationSection
)
public function CheckGetSection(
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 resulting ConfigurationSection instance.
See Also
ConfigurationSourceHandler Class
Microsoft.Practices.EnterpriseLibrary.Common.Configuration Namespace