API:System.JSON.Writers.TJsonTextWriter.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(const TextWriter: TTextWriter; OwnsWriter: Boolean); overload;
constructor Create(const TextWriter: TTextWriter); overload;
constructor Create(const Stream: TStream); overload;

C++

__fastcall TJsonTextWriter(System::Classes::TTextWriter* const TextWriter, bool OwnsWriter)/* overload */;
__fastcall TJsonTextWriter(System::Classes::TTextWriter* const TextWriter)/* overload */;
__fastcall TJsonTextWriter(System::Classes::TStream* const Stream)/* overload */;

Properties

Type Visibility Source Unit Parent
constructor public
System.JSON.Writers.pas
System.JSON.Writers.hpp
System.JSON.Writers TJsonTextWriter

Description



Constructs an object and initializes its data before the object is first used.

System.JSON.Writers.TJsonTextWriter.Create inherits from System.TObject.Create. All content below this line refers to System.TObject.Create.

Constructs an object and initializes its data before the object is first used.

Create constructs an object. The purpose, size, and behavior of objects differ greatly. The Create constructor defined by TObject allocates memory but does not initialize data.

Descendant objects usually define a constructor that creates the particular kind of object and initializes its data.

Note: If an exception escapes from a constructor, the object's destructor is called to clean up the failed instance.

See Also