System.Classes.TWriter.WriteDate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure WriteDate(const Value: TDateTime);

C++

void __fastcall WriteDate(const System::TDateTime Value);

Properties

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

Description

Writes the specified TDateTime type Value to the writer object's stream.

WriteDate is used internally by the component streaming system to write component properties of the TDateTime type to the writer object's stream.

WriteDate first calls WriteValue(vaDate) to write the value-type indicator and then calls Write to write the passed TDateTime type Value.

WriteDate advances the current position after the last written byte.

See Also