System::ObjectExt::GetHashCode 方法

ObjectExt::GetHashCode method

实现 GetHashCode() 调用;在 Object 子类和不相关的类型上均可工作。

template<typename T> static int System::ObjectExt::GetHashCode(const T &obj)
参数描述
T用于计算哈希码的类型。
参数类型描述
objconst T&Object 用于计算哈希码。

ReturnValue

为传入的对象计算的哈希码。

另见