BigInteger.INumberBase<BigInteger>.TryConvertToTruncating<TOther> Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Tenta converter uma instância do tipo atual em outro tipo, truncando todos os valores que estejam 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>.TryConvertToTruncating(System::Numerics::BigInteger value, [Runtime::InteropServices::Out] TOther % result) = System::Numerics::INumberBase<System::Numerics::BigInteger>::TryConvertToTruncating;
static bool INumberBase<BigInteger>.TryConvertToTruncating<TOther>(System.Numerics.BigInteger value, out TOther result) where TOther : System.Numerics.INumberBase<TOther>;
static member System.Numerics.INumberBase<System.Numerics.BigInteger>.TryConvertToTruncating : System.Numerics.BigInteger * 'Other -> bool (requires 'Other :> System.Numerics.INumberBase<'Other>)
Shared Function TryConvertToTruncating(Of TOther As INumberBase(Of TOther)) (value As BigInteger, ByRef result As TOther) As Boolean Implements INumberBase(Of BigInteger).TryConvertToTruncating
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 de TOther.
- result
- TOther
Quando esse método é retornado, contém uma instância de TOther conversão de value.
Retornos
false se TOther não houver suporte; caso contrário, true.