System.Variants.IVarInvokeable.DoProcedure

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DoProcedure(const V: TVarData; const Name: string;  const Arguments: TVarDataArray): Boolean;

C++

virtual bool __fastcall DoProcedure(const TVarData &V, const System::UnicodeString Name, const TVarDataArray Arguments) = 0 ;

Properties

Type Visibility Source Unit Parent
function public
System.Variants.pas
System.Variants.hpp
System.Variants IVarInvokeable

Description

Implements all the methods that do not return values.

Implement DoProcedure to provide the implementation for method calls that do not return values. When the application invokes a Variant member function (Delphi) or calls the Variant's Exec method (C++), a call is automatically generated to DoProcedure.

The following table lists the parameters expected by this method.



Value Meaning

V

The TVarData record from the Variant instance that was used to call the function.

Name

The name of the function being called.

Arguments

Dynamic array of TVarData records, where each record represents the value of an argument passed to the function.



DoProcedure returns True if it executes the method call, or False if it does not implement the specified procedure.

See Also