Single.ConvertToIntegerNative<TInteger>(Single) Méthode
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Convertit une valeur en type entier spécifié à l’aide d’un comportement spécifique à la plateforme sur le dépassement de capacité.
public:
generic <typename TInteger>
where TInteger : System::Numerics::IBinaryInteger<TInteger> static TInteger ConvertToIntegerNative(float value) = System::Numerics::IFloatingPoint<float>::ConvertToIntegerNative;
public static TInteger ConvertToIntegerNative<TInteger>(float value) where TInteger : System.Numerics.IBinaryInteger<TInteger>;
static member ConvertToIntegerNative : single -> 'Integer (requires 'Integer :> System.Numerics.IBinaryInteger<'Integer>)
Public Shared Function ConvertToIntegerNative(Of TInteger As IBinaryInteger(Of TInteger)) (value As Single) As TInteger
- TInteger
Type entier vers lequel value
est converti.
- value
- Single
Valeur à convertir.
Instance de TInteger
créée à partir de value
.
Produit | Versions |
---|---|
.NET | 9, 10 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires: