Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ConfigurationElementCollection Constructor (IComparer^)

 

Creates a new instance of the ConfigurationElementCollection class.

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

protected:
ConfigurationElementCollection(
	IComparer^ comparer
)

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: