RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWriter.WriteInteger Method (Int64)

Writes the integer value passed in Value to the writer object's stream.

Pascal
procedure WriteInteger(Value: Longint); overload;
procedure WriteInteger(Value: Int64); overload;
C++
__fastcall WriteInteger(Longint Value);
__fastcall WriteInteger(Int64 Value);

WriteInteger is used internally by the component streaming system to write component properties to a stream. Use WriteInteger for writing component integer properties to streams. 

WriteInteger checks to ensure that Value is the correct type before calling Write to write the integer value and its value type to the stream. WriteInteger handles integers of different sizes. 

 

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