Method ResetState ResetState() Resets the internal state of the object so it is ready to be used again and does not contain any data left over from a previous run. Declaration void ResetState()