System.Function.Create

From RAD Studio API Documentation
Jump to: navigation, search

C++

Function(const String& name): AutoCmd(name) {}
Function(const AutoCmd& src): AutoCmd(src)  {}

Properties

Type Visibility Source Unit Parent
constructor public sysvari.h System Function

Description

Creates an instance of Function for a specified method.

Function has two constructors: a version that takes the name of the method it represents and a copy constructor. When creating a new Function object for a method, the name parameter must be the same as the name of the method as it appears in the interface declaration.