Edit

Share via


CaseInsensitiveHashCodeProvider Constructors

Definition

Initializes a new instance of the CaseInsensitiveHashCodeProvider class.

Overloads

CaseInsensitiveHashCodeProvider()

Initializes a new instance of the CaseInsensitiveHashCodeProvider class using the CurrentCulture of the current thread.

CaseInsensitiveHashCodeProvider(CultureInfo)

Initializes a new instance of the CaseInsensitiveHashCodeProvider class using the specified CultureInfo.

CaseInsensitiveHashCodeProvider()

Source:
CaseInsensitiveHashCodeProvider.cs
Source:
CaseInsensitiveHashCodeProvider.cs
Source:
CaseInsensitiveHashCodeProvider.cs
Source:
CaseInsensitiveHashCodeProvider.cs

Initializes a new instance of the CaseInsensitiveHashCodeProvider class using the CurrentCulture of the current thread.

public:
 CaseInsensitiveHashCodeProvider();
public CaseInsensitiveHashCodeProvider();
Public Sub New ()

Remarks

When the CaseInsensitiveHashCodeProvider instance is created using this constructor, the Thread.CurrentCulture of the current thread is saved. Comparison procedures use the saved culture to determine the casing rules; therefore, hash code comparisons might have different results depending on the culture. For more information on culture-specific comparisons, see the System.Globalization namespace and Globalization and Localization.

See also

Applies to

CaseInsensitiveHashCodeProvider(CultureInfo)

Source:
CaseInsensitiveHashCodeProvider.cs
Source:
CaseInsensitiveHashCodeProvider.cs
Source:
CaseInsensitiveHashCodeProvider.cs
Source:
CaseInsensitiveHashCodeProvider.cs

Initializes a new instance of the CaseInsensitiveHashCodeProvider class using the specified CultureInfo.

public:
 CaseInsensitiveHashCodeProvider(System::Globalization::CultureInfo ^ culture);
public CaseInsensitiveHashCodeProvider(System.Globalization.CultureInfo culture);
new System.Collections.CaseInsensitiveHashCodeProvider : System.Globalization.CultureInfo -> System.Collections.CaseInsensitiveHashCodeProvider
Public Sub New (culture As CultureInfo)

Parameters

culture
CultureInfo

The CultureInfo to use for the new CaseInsensitiveHashCodeProvider.

Exceptions

culture is null.

Remarks

Comparison procedures use the specified System.Globalization.CultureInfo to determine the casing rules. Hash code comparisons might have different results depending on the culture. For more information on culture-specific comparisons, see the System.Globalization namespace and Globalization and Localization.

See also

Applies to