FileStream: CloseStream

CloseStream

Closes the current stream, flushing any data that may need to be written to the stream.



 Public Sub CloseStream ( )

Remarks

If the stream was created around a handle and the stream was given ownership of the handle, then the handle will also be closed with the stream. Otherwise, only the stream will be closed, leaving the handle in its original state.

See Also

Project CorLib Overview

Class FileStream Overview