语言

Byte.LeadingZeroCount(Byte) 方法

定义

计算值中的前导零数。

public:
 static System::Byte LeadingZeroCount(System::Byte value) = System::Numerics::IBinaryInteger<System::Byte>::LeadingZeroCount;
public static byte LeadingZeroCount(byte value);
static member LeadingZeroCount : byte -> byte
Public Shared Function LeadingZeroCount (value As Byte) As Byte

参数

value
Byte

要计算其前导零的值。

返回

中的 value前导零的数目。

实现

适用于