UIntPtr.PopCount(UIntPtr) 方法

定義

計算值中所設定的位數。

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

參數

value
UIntPtr

unativeint

要計算其設定位的值。

傳回

UIntPtr

unativeint

中的 value 設定位數目。

實作

適用於