Data.Bind.ObjectScope.FindRegisteredValueGenerator

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function FindRegisteredValueGenerator(const AName: string; AFieldType: TGeneratorFieldType; var ADescription: TValueGeneratorDescription): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall FindRegisteredValueGenerator(const System::UnicodeString AName, TGeneratorFieldType AFieldType, TValueGeneratorDescription &ADescription);

Properties

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

Description

Returns whether the given name and field type is registered as a value generator. If so, FindRegisteredValueGenerator also returns the description for the first registered value generator that is found, in the ADescription parameter.

If duplicates are found, for multiple frameworks, FindRegisteredValueGenerator just returns the first description, in the ADescription parameter.

The AName parameter holds the name of the generator, while AFieldType holds the generator field type.

FindRegisteredValueGenerator returns True if the operations succeeds, False otherwise.

See Also