IntPtr.IsPow2(IntPtr) 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.
Détermine si une valeur est une puissance de deux.
public:
static bool IsPow2(IntPtr value) = System::Numerics::IBinaryNumber<IntPtr>::IsPow2;
public static bool IsPow2(IntPtr value);
static member IsPow2 : nativeint -> bool
Public Shared Function IsPow2 (value As IntPtr) As Boolean
- value
-
IntPtr
nativeint
Valeur à vérifier.
true
si value
est une puissance de deux ; sinon, false
.
Produit | Versions |
---|---|
.NET | 7, 8, 9, 10 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires: