Method GetHashCode GetHashCode() Returns a hash code of all serialized fields. Declaration public override int GetHashCode() Returns Type Description int The hash code. Overrides object.GetHashCode()