BigInteger.CreateChecked<TOther>(TOther) Méthode
Définition
Important
Certaines informations concernent des produits en version préliminaire qui peuvent être considérablement modifiés avant leur sortie. Microsoft n’offre aucune garantie, expresse ou implicite, concernant les informations fournies ici.
Crée une instance du type actuel à partir d’une valeur, lève une exception de dépassement de capacité pour toutes les valeurs qui se trouvent en dehors de la plage représentable du type actuel.
public:
generic <typename TOther>
where TOther : System::Numerics::INumberBase<TOther> static System::Numerics::BigInteger CreateChecked(TOther value) = System::Numerics::INumberBase<System::Numerics::BigInteger>::CreateChecked;
public static System.Numerics.BigInteger CreateChecked<TOther>(TOther value) where TOther : System.Numerics.INumberBase<TOther>;
static member CreateChecked : 'Other -> System.Numerics.BigInteger (requires 'Other :> System.Numerics.INumberBase<'Other>)
Public Shared Function CreateChecked(Of TOther As INumberBase(Of TOther)) (value As TOther) As BigInteger
Paramètres de type
- TOther
Type d'élément value.
Paramètres
- value
- TOther
Valeur utilisée pour créer le instance de TSelf.
Retourne
Instance de TSelf créée à partir de value.