System.Classes.TReader.ReadWideString

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ReadWideString: string; deprecated 'Use ReadString';

C++

System::UnicodeString __fastcall ReadWideString _DEPRECATED_ATTRIBUTE1("Use ReadString") ();

Properties

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

Description

Attention: ReadWideString is deprecated. Please use ReadString.

Reads a tagged wide string value from the reader object's stream and returns its contents.

ReadWideString is a helper method used by other reader methods to read a wide string at the current reader Position. ReadWideString first checks the value type (TValueType) by calling the ReadValue method. If the item is a vaWString type, ReadWideString calls Read and returns the string. Otherwise it raises an EReadError exception.

See Also