Datasnap.DSReflect.TDSClass.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AClassRef: TPersistentClass; AIsAdapted: Boolean); overload;
constructor Create(AClassRef: TPersistentClass; AAdapteeClass: TDSClass); overload;
constructor Create(ClassName: string; TypeData: PTypeData;  AIsArrayParameter, AIsVarParameter, AIsOutParameter: Boolean); overload;

C++

__fastcall TDSClass(System::Classes::TPersistentClass AClassRef, bool AIsAdapted)/* overload */;
__fastcall TDSClass(System::Classes::TPersistentClass AClassRef, TDSClass* AAdapteeClass)/* overload */;
__fastcall TDSClass(System::UnicodeString ClassName, System::Typinfo::PTypeData TypeData, bool AIsArrayParameter, bool AIsVarParameter, bool AIsOutParameter)/* overload */;

Properties

Type Visibility Source Unit Parent
constructor public
Datasnap.DSReflect.pas
Datasnap.DSReflect.hpp
Datasnap.DSReflect TDSClass

Description

Constructs an object and initializes its data before the object is first used.

Datasnap.DSReflect.TDSClass.Create inherits from System.TObject.Create. All content below this line refers to System.TObject.Create.

Constructs an object and initializes its data before the object is first used.

Create constructs an object. The purpose, size, and behavior of objects differ greatly. The Create constructor defined by TObject allocates memory but does not initialize data.

Descendant objects usually define a constructor that creates the particular kind of object and initializes its data.

Note: If an exception escapes from a constructor, the object's destructor is called to clean up the failed instance.

See Also