Compartir a través de


Hashtable.hcp Propiedad

Definición

Precaución

Please use EqualityComparer property.

Precaución

Hashtable.hcp has been deprecated. Use the EqualityComparer property instead.

Obtiene o establece el objeto que puede dispensar códigos hash.

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; }
[System.Obsolete("Hashtable.hcp has been deprecated. Use the EqualityComparer property instead.")]
protected System.Collections.IHashCodeProvider? hcp { get; set; }
[System.Obsolete("Please use EqualityComparer property.")]
protected System.Collections.IHashCodeProvider hcp { get; set; }
protected System.Collections.IHashCodeProvider hcp { get; set; }
[<System.Obsolete("Please use EqualityComparer property.")>]
member this.hcp : System.Collections.IHashCodeProvider with get, set
[<System.Obsolete("Hashtable.hcp has been deprecated. Use the EqualityComparer property instead.")>]
member this.hcp : System.Collections.IHashCodeProvider with get, set
member this.hcp : System.Collections.IHashCodeProvider with get, set
Protected Property hcp As IHashCodeProvider

Valor de propiedad

Objeto que puede dispensar códigos hash.

Atributos

Excepciones

La propiedad está establecida en un valor, pero la tabla hash se creó utilizando una interfaz IEqualityComparer.

Comentarios

Recuperar el valor de esta propiedad es una O(1) operación.

Se aplica a

Consulte también