ReferenceEqualityComparer.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. The returned hash code is based on the object identity, not on the contents of the object.
public:
virtual int GetHashCode(System::Object ^ obj);
public int GetHashCode (object? obj);
override this.GetHashCode : obj -> int
Public Function GetHashCode (obj As Object) As Integer
Parameters
- obj
- Object
The object for which to retrieve the hash code.
Returns
A hash code for the identity of obj
.
Implements
Remarks
This API is a wrapper around GetHashCode(Object). It is not necessarily equivalent to calling GetHashCode().
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.