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.141 -- Release Build+8fc1477299d57116e2a4f3cb8dfe059f814b239b
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