Sets a new value represented with an ANSI string.
true if the value was successfully set; otherwise, the method returns false.