Format()
Formats string in C# style.
template<class...> String System::String::Format(const SharedPtr<IFormatProvider> &fp, const String &format, const Args &... args)
Template parameters
Parameter | Description |
---|
Args | Arguments to format string. |
Arguments
Parameter | Type | Description |
---|
fp | const SharedPtr<IFormatProvider>& | Format provider to use to convert arguments to strings. |
format | const String& | Format string. |
args | const Args&… | Arguments to format string. |
Formats string in C# style.
template<class...> String System::String::Format(std::nullptr_t, const String &format, const Args &... args)
Template parameters
Parameter | Description |
---|
Args | Arguments to format string. |
Arguments
Parameter | Type | Description |
---|
format | std::nullptr_t | Format string. |
args | const String& | Arguments to format string. |
Formats string in C# style.
template<std::size_t,class...> String System::String::Format(std::nullptr_t, const char16_t(&format)[N], const Args &... args)
Template parameters
Parameter | Description |
---|
Args | Arguments to format string. |
Arguments
Parameter | Type | Description |
---|
format | std::nullptr_t | Format string. |
args | const char16_t(&) | Arguments to format string. |
Formats string in C# style.
template<class...> String System::String::Format(const String &format, const Args &... args)
Template parameters
Parameter | Description |
---|
Args | Arguments to format string. |
Arguments
Parameter | Type | Description |
---|
format | const String& | Format string. |
args | const Args&… | Arguments to format string. |
Formats string in C# style.
template<class T> String System::String::Format(const String &format, const System::ArrayPtr<T> &args)
Template parameters
Parameter | Description |
---|
T | Arguments to format string. |
Arguments
Parameter | Type | Description |
---|
format | const String& | Format string. |
args | const System::ArrayPtr<T>& | Arguments to format string. |
See Also