System.JSON.Readers.TJsonReader.CloseInput

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property CloseInput: Boolean read FCloseInput write FCloseInput;

C++

__property bool CloseInput = {read=FCloseInput, write=FCloseInput, nodefault};

Properties

Type Visibility Source Unit Parent
property public
System.JSON.Readers.pas
System.JSON.Readers.hpp
System.JSON.Readers TJsonReader


Description

Gets or sets a boolean value to indicate whether the underlying stream or TTextReader should be closed when the reader is closed.

When the reader is created, CloseInput is set to True.

TJsonTextReader.Close checks if CloseInput is True to call TTextReader.Close in order to free the resources.

See Also