ConfigurationElementCollection Constructor (IComparer)

 

Creates a new instance of the ConfigurationElementCollection class.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

Protected Sub New (
	comparer As IComparer
)

Parameters

comparer
Type: System.Collections.IComparer

The IComparer comparer to use.

Exception Condition
ArgumentNullException

comparer is null.

The IComparer is used to set a comparer to use. For example, you can use a case-insensitive comparer to make the key case insensitive.

.NET Framework
Available since 2.0
Return to top
Show: