CaseInsensitiveComparer Constructor (CultureInfo)
.NET Framework (current version)
Initializes a new instance of the CaseInsensitiveComparer class using the specified System.Globalization.CultureInfo.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- culture
-
Type:
System.Globalization.CultureInfo
The System.Globalization.CultureInfo to use for the new CaseInsensitiveComparer.
| Exception | Condition |
|---|---|
| ArgumentNullException | culture is null. |
Comparison procedures use the specified System.Globalization.CultureInfo to determine the sort order and casing rules. String comparisons might have different results depending on the culture. For more information on culture-specific comparisons, see the System.Globalization namespace and Globalizing and Localizing .NET Framework Applications.
Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Available since 10
.NET Framework
Available since 1.1
Show: