IConfigurationSource.Remove Method

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Removes a ConfigurationSection from the configuration source location specified by removeParameter and saves the configuration source.

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

Syntax

'Declaration
SubRemove ( _
    removeParameterAs IConfigurationParameter, _
    sectionNameAs String _
)
voidRemove(
    IConfigurationParameter removeParameter,
    string sectionName
)
voidRemove(
    IConfigurationParameter^ removeParameter, 
    String^ sectionName
)
functionRemove(
    removeParameter : IConfigurationParameter, 
    sectionName : String
)

Parameters

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

See Also

IConfigurationSource Interface

Microsoft.Practices.EnterpriseLibrary.Common.Configuration Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.