ConfigurationSourceHandler.CheckAddSection Method

Checks whether a call to Add(String, ConfigurationSection) should be extended.
If the call should be extended performs the extended behavior.

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

Syntax

'Declaration
Public Function CheckAddSection ( _
    sectionName As String, _
    configurationSection As ConfigurationSection _
) As Boolean
public bool CheckAddSection(
    string sectionName,
    ConfigurationSection configurationSection
)
public:
bool CheckAddSection(
    String^ sectionName, 
    ConfigurationSection^ configurationSection
)
public function CheckAddSection(
    sectionName : String, 
    configurationSection : ConfigurationSection
) : boolean

Parameters

  • sectionName
    Type: System.String
    The name of the section that should be stored in configuration.

Return Value

truetrue (True in Visual Basic) if the call to Add(String, ConfigurationSection) was handled by the extension.

See Also

ConfigurationSourceHandler Class

Microsoft.Practices.EnterpriseLibrary.Common.Configuration Namespace

IConfigurationSource.Add(String, ConfigurationSection)