BeginRead
Begins an Asynchronous reading process.
Public Function BeginRead(
ByRef Buffer ( ) As Byte,
ByVal Offset As Long,
ByVal Count As Long,
Optional ByVal Callback As AsyncCallback,
Optional ByRef State As Variant ) As IAsyncResult
Parameters
- Buffer
-
[ByRef]
Byte.
The buffer to read into.
- Offset
-
[ByVal]
Long.
The starting index in Buffer to begin reading into.
- Count
-
[ByVal]
Long.
The number of bytes to be read into the buffer.
- Callback
-
[ByVal]
Optional.
AsyncCallback.
Object used to receive notification of the finish of the read.
- State
-
[ByRef]
Optional.
Variant.
Information the caller can use to distinguish from other reads.
Return Values
IAsyncResult - Represents the current read state.
See Also
Project CorLib Overview
Class Stream Overview