Creates a Hashtable that uses case-insensitive string comparison associated with invariant culture.

Namespace:  NHibernate.Util
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function CreateCaseInsensitiveHashtable ( _
	dictionary As IDictionary _
) As Hashtable
C#
public static Hashtable CreateCaseInsensitiveHashtable(
	IDictionary dictionary
)
Visual C++
public:
static Hashtable^ CreateCaseInsensitiveHashtable(
	IDictionary^ dictionary
)
JavaScript
NHibernate.Util.CollectionHelper.createCaseInsensitiveHashtable = function(dictionary);

Parameters

dictionary
Type: System.Collections..::.IDictionary

Remarks

This is different from the method in CollectionsUtil in that the latter uses the current culture and is thus vulnerable to the "Turkish I" problem.

See Also