Char.IConvertible.ToString(IFormatProvider) Method
Definition
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.
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.