API:System.JSON.TJSONBool.ToString
Delphi
function ToString: string; override;
C++
virtual System::UnicodeString __fastcall ToString(void);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | System.JSON.pas System.JSON.hpp |
System.JSON | TJSONBool |
Description
Returns a string containing the class name. {{#multireplace:System.JSON.TJSONBool.ToString|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:System.TObject.ToString|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:System.TObject.ToString|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Returns a string containing the class name.
By default, the ToString returns a string containing the class name of the instance that is being called.
For example, calling ToString on a TButton instance returns a string containing "TButton".
Note: ToString is intended to be overridden in user-derived classes, to provide consumer objects with a string representation.