Decimal.IConvertible.ToUInt64(IFormatProvider) Método
Definição
Importante
Esta API não está em conformidade com CLS.
Para obter uma descrição desse membro, confira ToInt64(IFormatProvider).For a description of this member, see ToInt64(IFormatProvider).
virtual System::UInt64 System.IConvertible.ToUInt64(IFormatProvider ^ provider) = IConvertible::ToUInt64;
ulong IConvertible.ToUInt64 (IFormatProvider provider);
[System.CLSCompliant(false)]
ulong IConvertible.ToUInt64 (IFormatProvider provider);
abstract member System.IConvertible.ToUInt64 : IFormatProvider -> uint64
override this.System.IConvertible.ToUInt64 : IFormatProvider -> uint64
[<System.CLSCompliant(false)>]
abstract member System.IConvertible.ToUInt64 : IFormatProvider -> uint64
override this.System.IConvertible.ToUInt64 : IFormatProvider -> uint64
Function ToUInt64 (provider As IFormatProvider) As ULong Implements IConvertible.ToUInt64
Parâmetros
- provider
- IFormatProvider
Este parâmetro é ignorado.This parameter is ignored.
Retornos
O valor da instância atual, convertido em um UInt64.The value of the current instance, converted to a UInt64.
Implementações
- Atributos
Exceções
O valor inteiro resultante é menor que MinValue ou maior que MaxValue.The resulting integer value is less than MinValue or greater than MaxValue.
Comentários
Este membro é uma implementação do membro de interface explícita.This member is an explicit interface member implementation. Ele só pode ser usado quando a instância de Decimal é convertida em uma interface de IConvertible.It can be used only when the Decimal instance is cast to an IConvertible interface. A alternativa recomendada é chamar o Decimal.ToUInt64 método ou o Convert.ToUInt64 método.The recommended alternative is to call either the Decimal.ToUInt64 method or the Convert.ToUInt64 method.
O valor Decimal é arredondado para zero até o valor inteiro mais próximo.The Decimal value is rounded toward zero to the nearest integer value.