Method GetHashCode GetHashCode() Returns the hash code of Key or KeyId. Declaration public override int GetHashCode() Returns Type Description int Overrides ValueType.GetHashCode()