Int16.PopCount(Int16) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
計算值中所設定的位數。
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數。