UIntPtr.PopCount(UIntPtr) Methode

Definition

Berechnet die Anzahl der Bits, die in einem Wert festgelegt sind.

public:
 static UIntPtr PopCount(UIntPtr value) = System::Numerics::IBinaryInteger<UIntPtr>::PopCount;
public static UIntPtr PopCount(UIntPtr value);
static member PopCount : unativeint -> unativeint
Public Shared Function PopCount (value As UIntPtr) As UIntPtr

Parameter

value
UIntPtr

unativeint

Der Wert, dessen Setbits gezählt werden sollen.

Gibt zurück

UIntPtr

unativeint

Die Anzahl der festgelegten Bits in value.

Implementiert

Gilt für: