BigInteger.INumberBase<BigInteger>.TryConvertToChecked<TOther> Método

Definição

Tenta converter uma instância do tipo atual em outro tipo, gerando uma exceção de estouro para todos os valores que ficam fora do intervalo representável do tipo atual.

generic <typename TOther>
 where TOther : System::Numerics::INumberBase<TOther> static bool System.Numerics.INumberBase<System.Numerics.BigInteger>.TryConvertToChecked(System::Numerics::BigInteger value, [Runtime::InteropServices::Out] TOther % result) = System::Numerics::INumberBase<System::Numerics::BigInteger>::TryConvertToChecked;
static bool INumberBase<BigInteger>.TryConvertToChecked<TOther> (System.Numerics.BigInteger value, out TOther result) where TOther : System.Numerics.INumberBase<TOther>;
static member System.Numerics.INumberBase<System.Numerics.BigInteger>.TryConvertToChecked : System.Numerics.BigInteger * 'Other -> bool (requires 'Other :> System.Numerics.INumberBase<'Other>)
 Shared Function TryConvertToChecked(Of TOther As INumberBase(Of TOther)) (value As BigInteger, ByRef result As TOther) As Boolean Implements INumberBase(Of BigInteger).TryConvertToChecked

Parâmetros de tipo

TOther

O tipo no qual value deve ser convertido.

Parâmetros

value
BigInteger

O valor usado para criar a instância do TOther.

result
TOther

Quando esse método retorna, contém uma instância de TOther convertida de value.

Retornos

false se TOther não houver suporte; caso contrário, true.

Implementações

Aplica-se a