BigInteger.INumberBase<BigInteger>.TryConvertToTruncating<TOther> Metod

Definition

Försöker konvertera en instans av den aktuella typen till en annan typ och trunkerar alla värden som ligger utanför det representerarbara intervallet för den aktuella typen.

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

Typparametrar

TOther

Den typ som value ska konverteras.

Parametrar

value
BigInteger

Värdet som används för att skapa instansen av TOther.

result
TOther

När den här metoden returnerar innehåller en instans av TOther konverterad från value.

Returer

false om TOther inte stöds, annars true.

Implementeringar

Gäller för