FileStream: CloseStream |
Closes the current stream, flushing any data that may need to be written to the stream.
Public Sub CloseStream ( )
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.