WindowsRuntimeBufferExtensions.GetByte(IBuffer, UInt32) Metodo

Definizione

Importante

Questa API non è conforme a CLS.

Restituisce il byte in corrispondenza dell'offset specificato nel Windows specificato. Interfaccia Storage.Streams.IBuffer.

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

Parametri

source
IBuffer

Buffer da cui ottenere il byte.

byteOffset
UInt32

Offset del byte.

Valori restituiti

Byte in corrispondenza dell'offset specificato.

Attributi

Eccezioni

source è null.

byteOffset è minore di 0 (zero).

byteOffset è maggiore o uguale alla capacità di source.

Si applica a