UnmanagedMemoryAccessor.ReadUInt64(Int64) 方法

定义

重要

此 API 不符合 CLS。

符合 CLS 的替代方案
System.Decimal

从访问器读取一个 64 位无符号整数。

public:
 System::UInt64 ReadUInt64(long position);
[System.CLSCompliant(false)]
public ulong ReadUInt64 (long position);
[<System.CLSCompliant(false)>]
member this.ReadUInt64 : int64 -> uint64
Public Function ReadUInt64 (position As Long) As ULong

参数

position
Int64

访问器中起始读取位置的字节偏移量。

返回

UInt64

读取的值。

属性

例外

position 后面没有足够的字节数可供读取值。

position 小于零或大于访问器的容量。

访问器不支持读取。

已释放访问器。

适用于