All needed for formating or parsing object.
|
template<typename ... args_t> |
static ustring | xtd::ustring::format (const ustring &fmt, args_t &&... args) |
| Writes the text representation of the specified arguments list, to string using the specified format information. More...
|
|
template<typename ... args_t> |
static ustring | xtd::ustring::sprintf (const ustring &fmt, args_t &&... args) noexcept |
| Writes the text representation of the specified arguments list, to string using the specified format information. More...
|
|
◆ format()
template<typename ... args_t>
static ustring xtd::ustring::format |
( |
const ustring & |
fmt, |
|
|
args_t &&... |
args |
|
) |
| |
|
inlinestatic |
#include <xtd.core/include/xtd/ustring.h>
Writes the text representation of the specified arguments list, to string using the specified format information.
- Parameters
-
fmt | A composite format string. |
args | arguments list to write using format. |
- Returns
- string formatted.
- Examples:
- application_events.cpp, application_idle.cpp, auto_reset_event.cpp, background_worker.cpp, boxed_info.cpp, boxing.cpp, button.cpp, button2.cpp, button3.cpp, button4.cpp, change_color.cpp, check_box.cpp, command_link_button.cpp, console_beep2.cpp, context_menu.cpp, control_with_name_operator.cpp, date_time_add_seconds.cpp, domain_up_down.cpp, find_box.cpp, find_dialog.cpp, folder_browser_box.cpp, folder_browser_dialog.cpp, font_box.cpp, font_families.cpp, form_and_thread.cpp, form_click.cpp, form_show_hide.cpp, form_window_state.cpp, forms_timer.cpp, h_scroll_bar.cpp, hello_world_ustring.cpp, images2.cpp, interlocked.cpp, lcd_label.cpp, lcd_label2.cpp, lcd_label_with_dot_matrix.cpp, lcd_label_with_fourteen_segment.cpp, lcd_label_with_nine_segment.cpp, lcd_label_with_seven_segment.cpp, lcd_label_with_sixteen_segment.cpp, light_button.cpp, main_menu.cpp, manual_reset_event.cpp, message_box.cpp, message_dialog.cpp, message_dialog_show_sheet.cpp, mixing_std_and_xtd_threads.cpp, mutex.cpp, network_stream.cpp, numeric_text_box.cpp, open_file_box.cpp, open_file_dialog.cpp, progress_box.cpp, progress_dialog.cpp, radio_button.cpp, replace_box.cpp, replace_dialog.cpp, save_file_box.cpp, save_file_dialog.cpp, screen_informations.cpp, send_message_to_form.cpp, socket_tcp_ip_v4.cpp, socket_tcp_ip_v4_without_thread.cpp, socket_tcp_ip_v6.cpp, socket_udp_ip_v4.cpp, socket_udp_ip_v6.cpp, status_bar_without_panels.cpp, stopwatch_form.cpp, switch_button.cpp, tcp_client_ip_v4.cpp, tcp_client_ip_v6.cpp, test_forms.cpp, toggle_button.cpp, tool_bar.cpp, track_bar.cpp, tutorial_communicate.cpp, udp_client_ip_v4.cpp, udp_client_ip_v6.cpp, up_down_button.cpp, and v_scroll_bar.cpp.
◆ parse< drawing::color >()
◆ sprintf()
template<typename ... args_t>
static ustring xtd::ustring::sprintf |
( |
const ustring & |
fmt, |
|
|
args_t &&... |
args |
|
) |
| |
|
inlinestaticnoexcept |
#include <xtd.core/include/xtd/ustring.h>
Writes the text representation of the specified arguments list, to string using the specified format information.
- Parameters
-
fmt | A composite format string. |
args | arguments list to write using format. |
- Returns
- string formatted.