String.ToString Method (IFormatProvider)

Returns this instance of the string; no actual conversion is performed.

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

Syntax

'Declaration
Public Function ToString ( _
    provider As IFormatProvider _
) As String
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.

Implements

IConvertible.ToString(IFormatProvider)

Remarks

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

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.