Upraviť

Zdieľať cez


Boolean.IConvertible.ToChar(IFormatProvider) Method

Definition

This conversion is not supported. Attempting to use this method throws an InvalidCastException.

 virtual char System.IConvertible.ToChar(IFormatProvider ^ provider) = IConvertible::ToChar;
char IConvertible.ToChar (IFormatProvider provider);
abstract member System.IConvertible.ToChar : IFormatProvider -> char
override this.System.IConvertible.ToChar : IFormatProvider -> char
Function ToChar (provider As IFormatProvider) As Char Implements IConvertible.ToChar

Parameters

provider
IFormatProvider

This parameter is ignored.

Returns

This conversion is not supported. No value is returned.

Implements

Exceptions

You attempt to convert a Boolean value to a Char value. This conversion is not supported.

Applies to