FileStreamWrapper.ReadData 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| ReadData(Byte[], Int32) | |
| ReadData(Byte[], Int32, Int64) |
ReadData(Byte[], Int32)
public:
virtual int ReadData(cli::array <System::Byte> ^ buf, int iBytes);
public int ReadData(byte[] buf, int iBytes);
abstract member ReadData : byte[] * int -> int
override this.ReadData : byte[] * int -> int
Public Function ReadData (buf As Byte(), iBytes As Integer) As Integer
參數
- buf
- Byte[]
- iBytes
- Int32
傳回
實作
適用於
ReadData(Byte[], Int32, Int64)
public:
virtual int ReadData(cli::array <System::Byte> ^ buf, int iBytes, long i64Offset);
public int ReadData(byte[] buf, int iBytes, long i64Offset);
abstract member ReadData : byte[] * int * int64 -> int
override this.ReadData : byte[] * int * int64 -> int
Public Function ReadData (buf As Byte(), iBytes As Integer, i64Offset As Long) As Integer
參數
- buf
- Byte[]
- iBytes
- Int32
- i64Offset
- Int64