System::ObjectExt::GetHashCode method

ObjectExt::GetHashCode method

Implements GetHashCode() calls; works on both Object subclasses and unrelated types.

template<typename T> static int System::ObjectExt::GetHashCode(const T &obj)
ParameterDescription
TType to calculate hash code for.
ParameterTypeDescription
objconst T&Object to calculate hash code for.

ReturnValue

Hash code calculated for object passed.

See Also