StringComparer.IEqualityComparer.GetHashCode(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a hash code for the specified object.
virtual int System.Collections.IEqualityComparer.GetHashCode(System::Object ^ obj) = System::Collections::IEqualityComparer::GetHashCode;
int IEqualityComparer.GetHashCode (object obj);
abstract member System.Collections.IEqualityComparer.GetHashCode : obj -> int
override this.System.Collections.IEqualityComparer.GetHashCode : obj -> int
Function GetHashCode (obj As Object) As Integer Implements IEqualityComparer.GetHashCode
Parameters
- obj
- Object
The object from which to obtain the hash code.
Returns
A hash code for the specified object.
Implements
Remarks
This member is an explicit interface member implementation. It can be used only when the StringComparer instance is cast to an IEqualityComparer interface.
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.