IntPtr.IBinaryInteger<IntPtr>.GetShortestBitLength 方法
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取当前值的最短两个补补表示形式的长度(以位为单位)。
virtual int System.Numerics.IBinaryInteger<nint>.GetShortestBitLength() = System::Numerics::IBinaryInteger<IntPtr>::GetShortestBitLength;
C#
int IBinaryInteger<IntPtr>.GetShortestBitLength();
abstract member System.Numerics.IBinaryInteger<nint>.GetShortestBitLength : unit -> int
override this.System.Numerics.IBinaryInteger<nint>.GetShortestBitLength : unit -> int
Function GetShortestBitLength () As Integer Implements IBinaryInteger(Of IntPtr).GetShortestBitLength
最短的两个当前值的补补表示形式的长度(以位为单位)。
产品 | 版本 |
---|---|
.NET | 7, 8, 9, 10 |