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.159 -- Release Build+a612c25bc0e1c87e5766544ec4650d2ebcfddcf4
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