BigInteger.INumberBase<BigInteger>.TryConvertToSaturating<TOther> Metodo

Definizione

Tenta di convertire un'istanza del tipo corrente in un altro tipo, saturando tutti i valori che non rientrano nell'intervallo rappresentabile del tipo corrente.

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

Parametri di tipo

TOther

Tipo in cui value deve essere convertito.

Parametri

value
BigInteger

Valore utilizzato per creare l'istanza di TOther.

result
TOther

Quando termina, questo metodo contiene un'istanza di TOther convertita da value.

Valori restituiti

false se TOther non è supportato; in caso contrario, true.

Implementazioni

Si applica a