RAD Studio VCL Reference
TReader.ReadWideString Method

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

function ReadWideString: WideString;
__fastcall BSTR ReadWideString();

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. 


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