ADO ဖတ်နည်း _
❮ Stream Object ရည်ညွှန်းချက်ကို အပြီးသတ်ပါ။
Read method ကို stream တစ်ခုလုံး သို့မဟုတ် binary Stream အရာဝတ္ထုမှ သတ်မှတ်ထားသော bytes အရေအတွက်ကို ဖတ်ရန်နှင့် ရလဒ်ဒေတာကို မူကွဲတစ်ခုအဖြစ် ပြန်ပို့ပေးသည်။
မှတ်ချက်- ဤနည်းလမ်းကို binary Stream အရာဝတ္ထုများနှင့်သာ အသုံးပြုသည်၊၊ text Stream objects အတွက် ReadText method ကို အသုံးပြုပါ။
အထားအသို
var=objStream.Read numbytes
Parameter | Description |
---|---|
numbytes | Optional. The number of bytes to read from the file,
or a StreamReadEnum value. Default is adReadAll
If you have specified more than the number of bytes left in the Stream, only the bytes remaining are returned. |
StreamReadEnum တန်ဖိုးများ
Constant | Value | Description |
---|---|---|
adReadAll | -1 | Default. Reads all bytes from the stream, from the
current position to EOS.
Note: This is the only valid value with binary Stream objects |
❮ Stream Object ရည်ညွှန်းချက်ကို အပြီးသတ်ပါ။