Unit 'csvreadwrite' Package
[Overview][Types][Classes][Procedures and functions][Index] [#fcl]

TCSVBuilder.SetOutput

Set the output stream to write to.

Declaration

Source position: csvreadwrite.pp line 174

public procedure TCSVBuilder.SetOutput(

  AStream: TStream

);

Arguments

AStream

  

Stream to write to.

Description

SetOutput can be used to set the output stream to aStream. The use of this is optional, as the output is available by default in DefaultOutput or DefaultOutputAsString. Calling SetOutpu will result in resetting the inner state of the builder using ResetBuilder , so it must not be called if you already wrote some data.

See also

DefaultOutput

  

Default output as stream.

DefaultOutputAsString

  

Default output as string value.

ResetBuilder

  

Reset values.


Documentation generated on: Jul 24 2023