UnmanagedMemoryAccessor.ReadSByte(Int64) Metod

Definition

Viktigt!

Detta API uppfyller inte CLS.

Alternativ som uppfyller CLS
System.Int16

Läser ett 8-bitars signerat heltal från accessorn.

public:
 System::SByte ReadSByte(long position);
[System.CLSCompliant(false)]
public sbyte ReadSByte(long position);
[<System.CLSCompliant(false)>]
member this.ReadSByte : int64 -> sbyte
Public Function ReadSByte (position As Long) As SByte

Parametrar

position
Int64

Antalet byte i accessorn där läsningen ska börja.

Returer

Värdet som lästes.

Attribut

Undantag

Det finns inte tillräckligt med byte efter position för att läsa ett värde.

position är mindre än noll eller större än accessorns kapacitet.

Accessorn stöder inte läsning.

Accessorn har tagits bort.

Gäller för