共用方式為


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 設定位數目。

實作

適用於