XsBufferedFileStream.Close 方法 | |
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.
命名空间:
XSharp.IO
程序集:
XSharp.Core (在 XSharp.Core.dll 中) 版本:2.22 GA
语法 VIRTUAL METHOD Close() AS VOID
public override void Close()
查看代码备注 This method overrides the normal behavior of the FileStream class and flushes the cached data to disk before calling the parent Close() method.
参见