Data.Bind.ObjectScope.TValueGeneratorDescription

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

  TValueGeneratorDescription = record
  strict private
    FClassType: TValueGeneratorClass;
    FFormatFieldName: string;
    FUnitName: string;
  public
    constructor Create(AClassType: TValueGeneratorClass; const AFormatFieldName: string = ''; const AUnitName: string = '');
    property ClassType: TValueGeneratorClass read FClassType;
    property FormatFieldName: string read FFormatFieldName;
    property UnitName: string read FUnitName;
  end;

C++

struct DECLSPEC_DRECORD TValueGeneratorDescription
{
private:
    TValueGeneratorClass FClassType;
    System::UnicodeString FFormatFieldName;
    System::UnicodeString FUnitName;
public:
    __fastcall TValueGeneratorDescription(TValueGeneratorClass AClassType, const System::UnicodeString AFormatFieldName, const System::UnicodeString AUnitName);
    __property TValueGeneratorClass ClassType = {read=FClassType};
    __property System::UnicodeString FormatFieldName = {read=FFormatFieldName};
    __property System::UnicodeString UnitName = {read=FUnitName};
    TValueGeneratorDescription() {}
};

Properties

Type Visibility Source Unit Parent
record
struct
public
Data.Bind.ObjectScope.pas
Data.Bind.ObjectScope.hpp
Data.Bind.ObjectScope Data.Bind.ObjectScope

Description

Is a record that contains generator descriptions.

ClassType holds information regarding the metaclass of the value generator.

FormatFieldName is a string used to format a field's name (for instance, 'StringField%d').

UnitName is used at design time to add the unit to the uses list.

See Also