String.IConvertible.ToChar(IFormatProvider) Method

Definition

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

char IConvertible.ToChar (IFormatProvider provider);
Parameters
provider
IFormatProvider

An object that provides culture-specific formatting information.

Returns

The character at index 0 in the current String object.

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