System.Classes.TStream.WriteDescendentRes

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure WriteDescendentRes(const ResName: string; const Instance, Ancestor: TComponent);

C++

void __fastcall WriteDescendentRes(const System::UnicodeString ResName, TComponent* const Instance, TComponent* const Ancestor);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Classes.pas
System.Classes.hpp
System.Classes TStream

Description

Streams components and their properties in inherited forms.

Do not call WriteDescendentRes directly. WriteDescendentRes is called automatically by WriteComponentRes.

WriteDescendentRes writes a resource-file header to the stream, using the resource name passed in ResName as the name of the resource. It then calls WriteDescendent to write Instance to the stream as a descendant of Ancestor.

See Also