語言

UInt16.IBinaryInteger<UInt16>.GetByteCount 方法

定義

取得將被寫入為 TryWriteLittleEndian(Span<Byte>, Int32)的一部分的位元組數。

 virtual int System.Numerics.IBinaryInteger<System.UInt16>.GetByteCount() = System::Numerics::IBinaryInteger<System::UInt16>::GetByteCount;
int IBinaryInteger<ushort>.GetByteCount();
abstract member System.Numerics.IBinaryInteger<System.UInt16>.GetByteCount : unit -> int
override this.System.Numerics.IBinaryInteger<System.UInt16>.GetByteCount : unit -> int
Function GetByteCount () As Integer Implements IBinaryInteger(Of UShort).GetByteCount

傳回

將被寫入 TryWriteLittleEndian(Span<Byte>, Int32)為 的位元組數。

實作

適用於