System.Classes.TFiler.IgnoreChildren

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property IgnoreChildren: Boolean read FIgnoreChildren write FIgnoreChildren;

C++

__property bool IgnoreChildren = {read=FIgnoreChildren, write=FIgnoreChildren, nodefault};

Properties

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

Description

Enables a writer object to save a component without saving the components it owns.

Programs rarely use IgnoreChildren directly. Programs use IgnoreChildren internally to avoid writing owned components when the Root is changed during the streaming process. A few components change Root while streaming, but this is rare.

If IgnoreChildren is true, the writer writes a component without writing any child components it owns. If IgnoreChildren is false, the writer object writes all owned objects to the stream.

See Also