System.Classes.TReader.CheckValue

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure CheckValue(Value: TValueType);

C++

void __fastcall CheckValue(TValueType Value);

Properties

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

Description

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

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.

See Also