System::ArraySegment::GetHashCode 方法

ArraySegment::GetHashCode method

C# 中 Object.GetHashCode() 方法的类似实现。启用自定义对象的哈希功能。

int32_t System::ArraySegment<T>::GetHashCode() const override

ReturnValue

由相应类计算的哈希码值。

另见