Bagikan melalui


Hashtable.hcp Properti

Definisi

Perhatian

Please use EqualityComparer property.

Perhatian

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

Mendapatkan atau mengatur objek yang dapat mengeluarkan kode 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

Nilai Properti

Objek yang dapat mengeluarkan kode hash.

Atribut

Pengecualian

Properti diatur ke nilai, tetapi tabel hash dibuat menggunakan IEqualityComparer.

Keterangan

Mengambil nilai properti ini adalah O(1) operasi.

Berlaku untuk

Lihat juga