System::Collections::IEqualityComparer::GetHashCode 方法

IEqualityComparer::GetHashCode method

获取某个对象的哈希码。

virtual int System::Collections::IEqualityComparer::GetHashCode(const SharedPtr<Object> &obj) const =0
参数类型描述
objconst SharedPtr<Object>&Object 用于计算哈希码。

ReturnValue

已为 obj 计算哈希码。

另见