Converts the value of this instance to its equivalent string representation, using the specified format.