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

Définition

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

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

Paramètres de type

TOther

Type vers lequel value doit être converti.

Paramètres

value
SByte

Valeur utilisée pour créer le instance de TOther.

result
TOther

Lorsque cette méthode retourne, contient une instance de TOther convertie à partir de value.

Retours

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

Implémente

S’applique à