Click or drag to resize

XsBufferedFileStream.Close Method

X#
Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream. Instead of calling this method, ensure that the stream is properly disposed.

Namespace:  XSharp.IO
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.19
Syntax
 VIRTUAL METHOD Close() AS VOID
Request Example View Source
Remarks
This method overrides the normal behavior of the FileStream class and flushes the cached data to disk before calling the parent Close() method.
See Also