RAD Studio VCL Reference
|
Reads a tagged string value written by WriteString from the reader object's stream and returns its contents.
function ReadString: string;
__fastcall AnsiString ReadString();
ReadString is a helper method used by other reader methods to read a string at the current reader Position. ReadString first checks the value type (TValueType) by calling the ReadValue method. If the item is a vaString or a vaLString type ReadString 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!
|