BigInteger.INumberBase<BigInteger>.TryConvertToTruncating<TOther> Méthode

Définition

Tente de convertir une instance du type actuel en un autre type, en tronqué toutes les valeurs qui se trouvent en dehors de la plage représentée du type actuel.

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

Paramètres de type

TOther

Type vers lequel value être converti.

Paramètres

value
BigInteger

Valeur utilisée pour créer l’instance de TOther.

result
TOther

Lorsque cette méthode est retournée, contient une instance de TOther conversion à partir de value.

Retours

false s’il TOther n’est pas pris en charge ; sinon, true.

Implémente

S’applique à