WindowsRuntimeBufferExtensions.GetByte(IBuffer, UInt32) Metoda

Definice

Důležité

Toto rozhraní API neodpovídá specifikaci CLS.

Vrátí bajt na zadaném posunu v zadaném Windows. Storage.Streams.IBuffer – rozhraní.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Byte GetByte(Windows::Storage::Streams::IBuffer ^ source, System::UInt32 byteOffset);
[System.CLSCompliant(false)]
public static byte GetByte(this Windows.Storage.Streams.IBuffer source, uint byteOffset);
[<System.CLSCompliant(false)>]
static member GetByte : Windows.Storage.Streams.IBuffer * uint32 -> byte
<Extension()>
Public Function GetByte (source As IBuffer, byteOffset As UInteger) As Byte

Parametry

source
Windows.Storage.Streams.IBuffer

Vyrovnávací paměť pro získání bajtu z.

byteOffset
UInt32

Posun bajtu.

Návraty

Bajt na zadaném posunu.

Atributy

Výjimky

source je null.

byteOffset je menší než 0 (nula).

byteOffset je větší než nebo roven kapacitě source.

Platí pro