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.156 -- Release Build+59006cef9614396d8b79971beebc1091829bcfe4
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