WindowsRuntimeBufferExtensions.GetByte(IBuffer, UInt32) Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Penting
API ini bukan kompatibel CLS.
Mengembalikan byte pada offset yang ditentukan di antarmuka Windows.Storage.Streams.IBuffer yang ditentukan.
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
Parameter
- source
- IBuffer
Buffer untuk mendapatkan byte dari.
- byteOffset
- UInt32
Offset byte.
Mengembalikan
Byte pada offset yang ditentukan.
- Atribut
Pengecualian
source
adalah null.
byteOffset
kurang dari 0 (nol).
byteOffset
lebih besar dari atau sama dengan kapasitas source
.
Berlaku untuk
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.