Méthode System::Runtime::CompilerServices::RuntimeHelpers::GetHashCode

RuntimeHelpers::GetHashCode method

Obtient le code de hachage d’un type arbitraire. Appelle Object::GetHashCode() pour ce faire.

template<typename T> static int System::Runtime::CompilerServices::RuntimeHelpers::GetHashCode(SmartPtr<T> const &obj)
ParamètreDescription
TType pour lequel obtenir le code de hachage.
ParamètreTypeDescription
objSmartPtr<T> const&Object dont on veut obtenir des informations.

ReturnValue

Valeur du code de hachage telle que calculée par l’implémentation cible.

Voir aussi