Provides functionality to format the value of an object into a string representation.
Public Methods | |
| virtual xtd::string | to_string (const xtd::string &format, const std::locale &loc) const =0 | 
| Formats the value of the current instance using the specified format.   | |
      
  | 
  pure virtual | 
Formats the value of the current instance using the specified format.
| format | The format to use  -or- A xtd::string::empty_string ("") to use the default format defined for the type of the xtd::iformattable implementation.  | 
| loc | An std::locale object that contains locale information (see std::locale). | 
Implemented in xtd::date_time, xtd::guid, xtd::time_span, xtd::box< type_t >, and xtd::enum_object< enum_t >.