Share via


MemoryStream.Dispose Method

Releases the unmanaged resources used by the MemoryStream class and optionally releases the managed resources.

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

Syntax

public override void Dispose (
         bool disposing
)

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, 4.1, and 4.2.

See Also

Reference

MemoryStream Class
MemoryStream Members
System.IO Namespace