IConvertible.ToString(IFormatProvider) Method (System) (original) (raw)

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Converts the value of this instance to an equivalent String using the specified culture-specific formatting information.

public:
 System::String ^ ToString(IFormatProvider ^ provider);
public string ToString(IFormatProvider provider);
public string ToString(IFormatProvider? provider);
abstract member ToString : IFormatProvider -> string
Public Function ToString (provider As IFormatProvider) As String

Parameters

Returns

A String instance equivalent to the value of this instance.

Applies to