System.Classes.TWriter.WriteListEnd

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure WriteListEnd; inline;

C++

void __fastcall WriteListEnd();

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Classes.pas
System.Classes.hpp
System.Classes TWriter

Description

Writes an end-of-list indicator to the writer object's stream.

WriteListEnd is used by other methods that iterate through a group of items that are sequentially written to the stream during a single process.

WriteListEnd calls WriteValue(vaNull) to write a end-of-list vaNull value-type indicator to the writer object's stream.

A call to WriteListEnd is generally preceded by a writing loop. A call to WriteListEnd generally corresponds to a preceding call to WriteListBegin.

WriteListEnd advances the current position after the written value-type indicator.

See Also