FileStream.Close Method

Definition

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 ()

Remarks

See Stream.Close() for more information about this method.

Applies to