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.173 -- Release Build+298e1c238b074757f82f41812034645402a162ed
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