System.Bindings.Methods.TMethodDescription
Delphi
TMethodDescription = record
strict private
FInvokable: IInvokable;
FID: string;
FName: string;
FUnitName: string;
FDefaultEnabled: Boolean;
FFrameworkClass: TPersistentClass;
FDescription: string;
public
constructor Create(const AInvokable: IInvokable; const AID, AName, AUnitName: string;
ADefaultEnabled: Boolean; const ADescription: string; AFrameworkClass: TPersistentClass); overload;
property ID: string read FID;
property Name: string read FName;
property UnitName: string read FUnitName;
property DefaultEnabled: Boolean read FDefaultEnabled;
property FrameWorkClass: TPersistentClass read FFrameWorkClass;
property Invokable: IInvokable read FInvokable;
property Description: string read FDescription;
end;
C++
struct DECLSPEC_DRECORD TMethodDescription
{
private:
System::Bindings::Evalprotocol::_di_IInvokable FInvokable;
System::UnicodeString FID;
System::UnicodeString FName;
System::UnicodeString FUnitName;
bool FDefaultEnabled;
System::Classes::TPersistentClass FFrameworkClass;
System::UnicodeString FDescription;
public:
__fastcall TMethodDescription(const System::Bindings::Evalprotocol::_di_IInvokable AInvokable, const System::UnicodeString AID, const System::UnicodeString AName, const System::UnicodeString AUnitName, bool ADefaultEnabled, const System::UnicodeString ADescription, System::Classes::TPersistentClass AFrameworkClass)/* overload */;
__property System::UnicodeString ID = {read=FID};
__property System::UnicodeString Name = {read=FName};
__property System::UnicodeString UnitName = {read=FUnitName};
__property bool DefaultEnabled = {read=FDefaultEnabled};
__property System::Classes::TPersistentClass FrameWorkClass = {read=FFrameworkClass};
__property System::Bindings::Evalprotocol::_di_IInvokable Invokable = {read=FInvokable};
__property System::UnicodeString Description = {read=FDescription};
TMethodDescription() {}
};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
record struct |
public | System.Bindings.Methods.pas System.Bindings.Methods.hpp |
System.Bindings.Methods | System.Bindings.Methods |
Description
Record that holds the description of a method.
TMethodDescription is a record that holds the description of a method.
Parameter | Meaning |
ID
|
Denotes the ID of the method. |
Name
|
Denotes the name of the method. |
UnitName
|
Denotes the name of the unit where the method is implemented. |
DefaultEnabled
|
Specifies whether the method is enabled to use, by default. |
FrameWorkClass
|
Denotes the framework the method is intended for (for instance, VCL or FMX). |
Invokable
|
Specifies a location used by bidirectional expressions. |
Description
|
Specifies a description of the method. |