Programming Reference Manual
 
Syntax
 
object.Clear
 
Description
Clear the stream.
 
Part
Description
object
Evaluates to a DartStream object.
 

Remarks

WARNING  USE WITH CAUTION!
This method sets Size and Position to 0. ALL DATA IS PERMANENTLY LOST!

Error Codes

The Clear method may generate the following error codes (refer to the ErrorConstants topic for a complete list of error codes):
  • ptInvalidParam1
  • ptInvalidParam2
  • ptNoBufferSpace 
 
See Also