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

MemoryStream Class
MemoryStream Members
System.IO Namespace