FormattableString::ToString Method (IFormatProvider^)

.NET Framework (current version)
 

Returns the string that results from formatting the composite format string along with its arguments by using the formatting conventions of a specified culture.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

public:
virtual String^ ToString(
	IFormatProvider^ formatProvider
) abstract

Parameters

formatProvider
Type: System::IFormatProvider^

An object that provides culture-specific formatting information.

Return Value

Type: System::String^

A result string formatted by using the conventions of formatProvider.

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.6
Return to top
Show: