RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTextWriter.Write Method (Boolean)

Writes data as characters.

Pascal
procedure Write(Value: Boolean); virtual; abstract; overload;
procedure Write(Value: Char); virtual; abstract; overload;
procedure Write(const Value: TCharArray); virtual; abstract; overload;
procedure Write(Value: Double); virtual; abstract; overload;
procedure Write(Value: Integer); virtual; abstract; overload;
procedure Write(Value: Int64); virtual; abstract; overload;
procedure Write(Value: TObject); virtual; abstract; overload;
procedure Write(Value: Single); virtual; abstract; overload;
procedure Write(const Value: string); virtual; abstract; overload;
procedure Write(Value: Cardinal); virtual; abstract; overload;
procedure Write(Value: UInt64); virtual; abstract; overload;
procedure Write(const Format: string; Args: array of const); virtual; abstract; overload;
procedure Write(Value: TCharArray; Index: Integer; Count: Integer); virtual; abstract; overload;
C++
virtual __fastcall Write(Boolean Value) = 0;
virtual __fastcall Write(Char Value) = 0;
virtual __fastcall Write(const TCharArray Value) = 0;
virtual __fastcall Write(Double Value) = 0;
virtual __fastcall Write(int Value) = 0;
virtual __fastcall Write(Int64 Value) = 0;
virtual __fastcall Write(TObject * Value) = 0;
virtual __fastcall Write(Single Value) = 0;
virtual __fastcall Write(const AnsiString Value) = 0;
virtual __fastcall Write(unsigned Value) = 0;
virtual __fastcall Write(UInt64 Value) = 0;
virtual __fastcall Write(const AnsiString Format, array of const Args) = 0;
virtual __fastcall Write(TCharArray Value, int Index, int Count) = 0;

Write writes the given data type as a text representation to the destination. 

This method is functionally identical to the Microsoft .NET method TextWriter.Write

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!