System.Procedure

From RAD Studio API Documentation
Jump to: navigation, search

C++

class Procedure : public AutoCmd

Properties

Type Visibility Source Unit Parent
class public sysvari.h System System

Description

Procedure represents a method on an Automation interface that does not return a value.

The Procedure class represents a single method on an Automation interface that is assigned as the value of a Variant. It can be executed using the Variant’s Exec method.

Each Procedure instance is assigned a name, which is the same as the name of the corresponding method on the interface. In addition, it can be assigned parameters that correspond to the parameters of the method. These parameters can be stored by position or by name.

See Also


Code Examples