System.Classes.TFiler.Root

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Root: TComponent read FRoot write SetRoot;

C++

__property TComponent* Root = {read=FRoot, write=SetRoot};

Properties

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

Description

Indicates which object is the root, or ultimate owner, of the objects read or written by the filer.

Do not call Root directly. It is used internally to find the root object when streaming owned components. Root represents the ultimate owner of all the components being streamed during the current streaming process.

The ReadRootComponent and WriteRootComponent methods set Root before reading or writing their components and owned components.

See Also