Json.NET Documentation
Json.NET Documentation
API Reference
Newtonsoft.Json.Linq
JTokenEqualityComparer Class
JTokenEqualityComparer Methods
GetHashCode Method
GetHashCode Method (JToken)
JTokenEqualityComparer
GetHashCode Method (JToken)
Returns a hash code for the specified object.
Namespace:
Newtonsoft.Json.Linq
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
Copy
public
int
GetHashCode
(
JToken
obj
)
Parameters
obj
Type:
Newtonsoft.Json.Linq
JToken
The
Object
for which a hash code is to be returned.
Return Value
Type:
Int32
A hash code for the specified object.
Implements
IEqualityComparer
T
GetHashCode(T)
Exceptions
Exception
Condition
ArgumentNullException
The type of
obj
is a reference type and
obj
is
null
.
See Also
Reference
JTokenEqualityComparer Class
GetHashCode Overload
Newtonsoft.Json.Linq Namespace
Json.NET Home