Stream: BeginRead

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 ByVal 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
[ByVal] Optional. Variant. Information the caller can use to distinguish from other reads.

Return Values

IAsyncResult -  Represents the current read state.

Remarks

See Also

Project VBCorLib Overview Class Stream Overview Stream Properties Stream Methods BeginWrite