編輯

共用方式為


Int32.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);
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

The value of the current instance, converted to a Char.

Implements

Remarks

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

Applies to