Char.IConvertible.ToDecimal(IFormatProvider) Method

Definition

注意不支持此转换。Note This conversion is not supported. 尝试这样做会引发 InvalidCastExceptionAttempting to do so throws an InvalidCastException.

 virtual System::Decimal System.IConvertible.ToDecimal(IFormatProvider ^ provider) = IConvertible::ToDecimal;
decimal IConvertible.ToDecimal (IFormatProvider provider);
abstract member System.IConvertible.ToDecimal : IFormatProvider -> decimal
override this.System.IConvertible.ToDecimal : IFormatProvider -> decimal
Function ToDecimal (provider As IFormatProvider) As Decimal Implements IConvertible.ToDecimal

Parameters

provider
IFormatProvider

该参数将被忽略。This parameter is ignored.

Returns

Decimal

不返回任何值。No value is returned.

Implements

Exceptions

不支持此转换。This conversion is not supported.

Applies to