Datasnap.DSReflect.TDSMethod
Delphi
TDSMethod = class
C++
class PASCALIMPLEMENTATION TDSMethod : public System::TObject
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Datasnap.DSReflect.pas Datasnap.DSReflect.hpp |
Datasnap.DSReflect | Datasnap.DSReflect |
Description
TDSMethod is a class that holds method metadata.
TDSMethod is used to describe DataSnap methods. Using TDSMethod properties, you can access useful method metadata. ParameterNames and ParameterTypes provide access to the method parameters and their types.
A method described by a TDSMethod object can be invoked using Invoke.
TDSMethod also provides access to a class function that can be used to dynamically invoke methods: InvokeStringFunction.