Home > Language Reference > Classes > StreamMemory

Clear Method

Deletes the data in a stream.

Syntax

Public Sub Clear()

Remarks

The Clear method deletes all the data contained in the stream. After calling this method, the Size and Position properties are both reset to zero, and the Kind property is reset to hbStreamUnallocated. If the object is actually a StreamRecord, all its properties are also reset to their default values.

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 3.0N/A