RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TReader.CheckValue Method

Checks that the next value to be read from the stream is of a specified type.

Pascal
procedure CheckValue(Value: TValueType);
C++
__fastcall CheckValue(TValueType Value);

CheckValue ascertains that the next value to be read from the stream is of the type specified by Value. If it is not, CheckValue skips over that value, positioning the stream on the following value, and raises an EReadError exception. 

 

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