Share via


FileBasedConfigurationSource.Remove Method

Removes a ConfigurationSection from the configuration and saves the configuration source.

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

Syntax

'Declaration
Public Sub Remove ( _
    sectionName As String _
)
public void Remove(
    string sectionName
)
public:
virtual void Remove(
    String^ sectionName
) sealed
public final function Remove(
    sectionName : String
)

Parameters

  • sectionName
    Type: System.String
    The name of the section to remove.

Implements

IConfigurationSource.Remove(String)

See Also

FileBasedConfigurationSource Class

Microsoft.Practices.EnterpriseLibrary.Common.Configuration Namespace