Data.Bind.ObjectScope.TValueGeneratorDescription

De RAD Studio API Documentation
Aller à : navigation, rechercher

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() {}
};

Propriétés

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


Description

Représente un enregistrement qui contient les descriptions de générateur.

ClassType contient des informations concernant la métaclasse du générateur de valeurs.

FormatFieldName est une chaîne utilisée pour formater un nom de champ (par exemple, 'StringField%d').

UnitName est utilisé à la conception pour ajouter l'unité à la liste uses.

Voir aussi