BigInteger.INumberBase<BigInteger>.TryConvertToTruncating<TOther> Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Tenta converter uma instância do tipo atual para outro tipo, truncando quaisquer 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 Genérico
- TOther
O tipo para o qual value deve ser convertido.
Parâmetros
- value
- BigInteger
O valor que é usado para criar a instância de TOther.
- result
- TOther
Quando este método retorna, contém uma instância de TOther convertida a partir de value.
Devoluções
false se TOther não for suportado; caso contrário, true.