Show: Delphi C++
Display Preferences

System.Classes.TInterfacedPersistent

From XE2 API Documentation
Jump to: navigation, search

System.Classes.TPersistentSystem.TObject
TInterfacedPersistent

Delphi

TInterfacedPersistent = class(TPersistent, IInterface)

C++

class PASCALIMPLEMENTATION TInterfacedPersistent : public TPersistent

Properties

Type Visibility Source Unit Parent
class public
System.Classes.pas
System.Classes.hpp
System.Classes System.Classes

Description

TInterfacedPersistent is an ancestor for persistent objects that implement interfaces.

TInterfacedPersistent, like all persistent objects, supports the ability to read and write its properties to and from a stream. In addition, it supplies a default implementation of the IInterface methods (_AddRef, _Release, and QueryInterface). This default implementation simply passes these calls on to the interface of the persistent object's Owner, if any.

Do not create instances of TInterfacedPersistent. Use TInterfacedPersistent as a base class when declaring objects that are not components, but that need to be saved to a stream or have their properties assigned to other objects, and that support interfaces.

See Also

Personal tools
Previous Versions
Translations