Share via


FileStream.Dispose Method

Releases the unmanaged resources used by the FileStream and optionally releases the managed resources.

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)

Syntax

public override void Dispose (
         booldisposing
)

Parameters

  • disposing
    true to release both managed and unmanaged resources; false to release only unmanaged resources.

Version Information

Available in the .NET Micro Framework versions 3.0, 4.0, and 4.1.

See Also

Reference

FileStream Class
FileStream Members
System.IO Namespace