語言

IntPtr.PopCount(IntPtr) 方法

定義

計算值中所設定的位數。

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

參數

value
IntPtr

nativeint

要計數的集合位元數值。

傳回

IntPtr

nativeint

集合位元 value數。

實作

適用於