Share via


IntPtr.IsPow2(IntPtr) Methode

Definition

Bestimmt, ob ein Wert eine Leistung von zwei ist.

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

Parameter

value
IntPtr

nativeint

Gibt zurück

Boolean

true wenn value es sich um eine Macht von zwei handelt; andernfalls false.

Implementiert

Gilt für