語言

UInt32.PopCount(UInt32) 方法

定義

計算值中所設定的位數。

public:
 static System::UInt32 PopCount(System::UInt32 value) = System::Numerics::IBinaryInteger<System::UInt32>::PopCount;
public static uint PopCount(uint value);
static member PopCount : uint32 -> uint32
Public Shared Function PopCount (value As UInteger) As UInteger

參數

value
UInt32

要計數的集合位元數值。

傳回

集合位元 value數。

實作

適用於