Hashtable.hcp Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Note: This API is now obsolete.

Gets or sets the object that can dispense hash codes.

Namespace:   System.Collections
Assembly:  mscorlib (in mscorlib.dll)

<ObsoleteAttribute("Please use EqualityComparer property.")>
Protected Property hcp As IHashCodeProvider

Property Value

Type: System.Collections.IHashCodeProvider

The object that can dispense hash codes.

Exception Condition

The property is set to a value, but the hash table was created using an IEqualityComparer.

Retrieving the value of this property is an O(1) operation.

.NET Framework
Available since 1.1
Return to top