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) Version: 6.0.0.0 (6.0.1304.0)

Syntax

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

Parameters

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

Implements

IConfigurationSource.Remove(String)

See Also

FileBasedConfigurationSource Class

FileBasedConfigurationSource Members

Microsoft.Practices.EnterpriseLibrary.Common.Configuration Namespace