Method GetHashCode GetHashCode() The hash code of an enumeration member equals the hash code of the represented value. Declaration public override int GetHashCode() Returns Type Description Int32 The hash code of the represented value.