CompositeConfigurationSourceHandler.DoCheckRemoveSection Method

Checks whether a call to Remove(String) should be deferred to a subordinate source.
If the call should be deferred, removes the section from the appropriate source and returns truetrue (True in Visual Basic).
If the call should not be deferred returns truetrue (True in Visual Basic).

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

Syntax

'Declaration
Protected Overrides Function DoCheckRemoveSection ( _
    sectionName As String _
) As Boolean
protected override bool DoCheckRemoveSection(
    string sectionName
)
protected:
virtual bool DoCheckRemoveSection(
    String^ sectionName
) override
protected override function DoCheckRemoveSection(
    sectionName : String
) : boolean

Parameters

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

Return Value

truetrue (True in Visual Basic) if the section was removed from a subordinate source, otherwise falsefalse (False in Visual Basic).

See Also

CompositeConfigurationSourceHandler Class

Microsoft.Practices.EnterpriseLibrary.Common.Configuration Namespace

IConfigurationSource.Remove(String)