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.
Hashtable::hcp Property
.NET Framework (current version)
Note: This API is now obsolete.
Namespace:
System.Collections
Assembly: mscorlib (in mscorlib.dll)
Return to top
Gets or sets the object that can dispense hash codes.
Assembly: mscorlib (in mscorlib.dll)
protected: [ObsoleteAttribute("Please use EqualityComparer property.")] property IHashCodeProvider^ hcp { IHashCodeProvider^ get(); void set(IHashCodeProvider^ value); }
| Exception | Condition |
|---|---|
| ArgumentException | 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
Available since 1.1
Show: