Hashtable.hcp Hashtable.hcp Hashtable.hcp Hashtable.hcp Property

Definition

Warning

This API is now obsolete.

Gets or sets the object that can dispense hash codes.

protected:
 property System::Collections::IHashCodeProvider ^ hcp { System::Collections::IHashCodeProvider ^ get(); void set(System::Collections::IHashCodeProvider ^ value); };
[System.Obsolete("Please use EqualityComparer property.")]
protected System.Collections.IHashCodeProvider hcp { get; set; }
member this.hcp : System.Collections.IHashCodeProvider with get, set
Protected Property hcp As IHashCodeProvider

Property Value

The object that can dispense hash codes.

Exceptions

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

Remarks

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

Applies to

See also