Redigera

Dela via


UnmanagedMemoryAccessor.ReadUInt64(Int64) Method

Definition

Important

This API is not CLS-compliant.

CLS-compliant alternative
System.Decimal

Reads an unsigned 64-bit integer from the accessor.

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

Parameters

position
Int64

The number of bytes into the accessor at which to begin reading.

Returns

The value that was read.

Attributes

Exceptions

There are not enough bytes after position to read a value.

position is less than zero or greater than the capacity of the accessor.

The accessor does not support reading.

The accessor has been disposed.

Applies to