WindowsRuntimeBufferExtensions.GetByte(IBuffer, UInt32) Método

Definición

Importante

Esta API no es conforme a CLS.

Devuelve el byte en el desplazamiento especificado en el Windows especificado. Interfaz 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

Parámetros

source
Windows.Storage.Streams.IBuffer

Búfer del que se va a obtener el byte.

byteOffset
UInt32

Desplazamiento del byte.

Devoluciones

Byte en el desplazamiento especificado.

Atributos

Excepciones

source es null.

byteOffset es menor que 0 (cero).

byteOffset es mayor o igual que la capacidad de source.

Se aplica a