Bewerken

Delen via


Char.IConvertible.ToString(IFormatProvider) Method

Definition

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

 virtual System::String ^ System.IConvertible.ToString(IFormatProvider ^ provider) = IConvertible::ToString;
string IConvertible.ToString (IFormatProvider provider);
abstract member System.IConvertible.ToString : IFormatProvider -> string
override this.System.IConvertible.ToString : IFormatProvider -> string
Function ToString (provider As IFormatProvider) As String Implements IConvertible.ToString

Parameters

provider
IFormatProvider

An object that supplies culture-specific formatting information.

Returns

A string equivalent to the value of this instance.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the Char instance is cast to an IConvertible interface.

Applies to