FileStream.Close FileStream.Close FileStream.Close FileStream.Close Method

定义

关闭当前流并释放与之关联的所有资源(如套接字和文件句柄)。Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream.

public:
 override void Close();
public override void Close ();
override this.Close : unit -> unit
Public Overrides Sub Close ()

注解

有关Stream.Close()此方法的详细信息, 请参阅。See Stream.Close() for more information about this method.

适用于