UnmanagedMemoryAccessor.ReadDecimal(Int64) 方法

定義

從存取子讀取位元組值。

public:
 System::Decimal ReadDecimal(long position);
public decimal ReadDecimal (long position);
member this.ReadDecimal : int64 -> decimal
Public Function ReadDecimal (position As Long) As Decimal

參數

position
Int64

會在此處開始讀取存取子的位元組數。

傳回

已讀取的值。

例外狀況

position 之後,沒有足夠的位元組可讀取值。

-或-

讀取的十進位無效。

position 小於零或大於這個存取子的容量。

存取子不支援讀取。

存取子已經被處置。

適用於