DateTime.IConvertible.ToDecimal(IFormatProvider) Método
Definição
Não há suporte para esta conversão.This conversion is not supported. A tentativa de usar esse método lança um InvalidCastException.Attempting to use this method 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
Parâmetros
- provider
- IFormatProvider
Um objeto que implementa a interface do IFormatProvider.An object that implements the IFormatProvider interface. (Este parâmetro não é usado; especifique null.)(This parameter is not used; specify null.)
Retornos
O valor de retorno desse membro não é usado.The return value for this member is not used.
Implementações
Exceções
Em todos os casos.In all cases.