System.Classes.TStringStream.DataString

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DataString: string read GetDataString;

C++

__property System::UnicodeString DataString = {read=GetDataString};

Properties

Type Visibility Source Unit Parent
property public
System.Classes.pas
System.Classes.hpp
System.Classes TStringStream

Description

Provides direct access to the string that stores the text represented by the TStringStream object.

Use DataString to get access to the text of the stream. The text represents the information that is being transferred by means of the string stream. Size is the number of bytes in the string, and Position is the current position within DataString.

Note: DataString is a read-only property. DataString can be used to change the contents of the string, but applications can't change the DataString itself.

See Also

Code Examples