IConvertible.ToString(IFormatProvider) Method

Definition

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

provider
IFormatProvider

An IFormatProvider interface implementation that supplies culture-specific formatting information.

Returns

A String instance equivalent to the value of this instance.

Applies to