Method ToBool ToBool() Checks whether the current ActionResult is set to Success or not. Declaration public bool ToBool() Returns Type Description bool True if this ActionResult has a status of Success; false otherwise.