ToString Method (IFormatProvider)
Collapse the table of content
Expand the table of content

String.ToString Method (IFormatProvider)

 

Returns this instance of String; no actual conversion is performed.

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

public string ToString(
	IFormatProvider provider
)

Parameters

provider
Type: System.IFormatProvider

(Reserved) An object that supplies culture-specific formatting information.

Return Value

Type: System.String

The current string.

provider is reserved, and does not currently participate in this operation.

Because this method simply returns the current string unchanged, there is no need to call it directly.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2016 Microsoft