Modifica

Condividi tramite


Enum.IConvertible.ToDecimal(IFormatProvider) Method

Definition

Converts the current value to a Decimal based on the underlying type.

 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

An object that supplies culture-specific formatting information.

Returns

This member always throws an exception.

Implements

Exceptions

In all cases.

Remarks

Currently not implemented. Always throws an exception.

Applies to