Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft