Gemstone Common Library
Show/Hide TOC

# BlockAllocatedMemoryStreamDispose(Boolean) Method

Releases the unmanaged resources used by the BlockAllocatedMemoryStream object and optionally releases the managed resources.

## Definition

Namespace: Gemstone.IO
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.174 -- Release Build+aa37ec1cbeacbf32d632bf098b6401a4346e3db1
C#
View Source Request Example

    protected override void Dispose(
    	bool disposing
    )

VB
View Source Request Example

    Protected Overrides Sub Dispose (
    	disposing As Boolean
    )

C++
View Source Request Example

    protected:
    virtual void Dispose(
    	bool disposing
    ) override

JavaScript
View Source Request Example

    function Dispose(disposing);

#### Parameters

disposing Boolean
  true to release both managed and unmanaged resources; otherwise, false to release only unmanaged resources.

## See Also

#### Reference

BlockAllocatedMemoryStream Class
Dispose Overload
Gemstone.IO Namespace