Uredi

Deli z drugimi prek


StringComparer.IEqualityComparer.GetHashCode(Object) Method

Definition

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