GetHashCode()

RuntimeHelpers::GetHashCode(SmartPtr<T> const&) method

Gets hash code on arbitrary type. Calls Object::GetHashCode() to do so.

template<typename T> static int System::Runtime::CompilerServices::RuntimeHelpers::GetHashCode(SmartPtr<T> const &obj)

Template parameters

ParameterDescription
TType to get hash code for.

Arguments

ParameterTypeDescription
objSmartPtr<T> const&Object to get information from.

Return Value

Hash code value as calcualted by target implementation.

See Also