IEqualityComparer..::..GetHashCode Method
Returns a hash code for the specified object.
Namespace:
System.CollectionsAssembly: Bridge (in Bridge.dll)
Syntax
[TemplateAttribute] int GetHashCode( Object obj )
<TemplateAttribute> _ Function GetHashCode ( _ obj As Object _ ) As Integer
[TemplateAttribute] int^ GetHashCode( Object^ obj )
Parameters
- obj
- Type: System..::..Object
The Object for which a hash code is to be returned.
Return Value
A hash code for the specified object.Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | The type of obj is a reference type and obj is null. |