String.IConvertible.ToChar(IFormatProvider) String.IConvertible.ToChar(IFormatProvider) String.IConvertible.ToChar(IFormatProvider) Method

Definition

For a description of this member, see ToChar(IFormatProvider).

 virtual char System.IConvertible.ToChar(IFormatProvider ^ provider) = IConvertible::ToChar;
char IConvertible.ToChar (IFormatProvider provider);
Function ToChar (provider As IFormatProvider) As Char Implements IConvertible.ToChar

Parameters

provider
IFormatProvider IFormatProvider IFormatProvider

An object that provides culture-specific formatting information.

Returns

The character at index 0 in the current String object.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the String instance is cast to an IConvertible interface. The recommended alternative is to call the Convert.ToChar(String, IFormatProvider) method.

Applies to