Skip to content

TCSVBuilder.SetOutput

Set the output stream to write to.

Declaration

Source position: csvreadwrite.pp line 181

public 
procedure TCSVBuilder.SetOutput(AStream: TStream);

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

Name Description
DefaultOutput Default output as stream.
DefaultOutputAsString Default output as string value.
ResetBuilder Reset values.