API:System.Classes.TWriter.DefineProperty
Delphi
procedure DefineProperty(const Name: string; ReadData: TReaderProc; WriteData: TWriterProc; HasData: Boolean); override;
C++
virtual void __fastcall DefineProperty(const System::UnicodeString Name, TReaderProc ReadData, TWriterProc WriteData, bool HasData);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Classes.pas System.Classes.hpp |
System.Classes | TWriter |
Description
Introduces an abstract method that allows descendants to read or write data like a property.
System.Classes.TWriter.DefineProperty inherits from System.Classes.TFiler.DefineProperty. All content below this line refers to System.Classes.TFiler.DefineProperty.
Introduces an abstract method that allows descendants to read or write data like a property.
Each descendant filer object declares a DefineProperty method that defines the data that the descendant object will read or write as if the data were a property.