語言

Int16.PopCount(Int16) 方法

定義

計算值中所設定的位數。

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

參數

value
Int16

要計數的集合位元數值。

傳回

集合位元 value數。

實作

適用於