PythonClassObject.Create

Syntax

Create(ModuleName: String; ClassName: String; Params: Array);

Create(ModuleName: String; ClassName: String; paramarray Params: Array of Object);

Parameters

ModuleName. Unit name with code in the Python language. The name is case-sensitive.

ClassName. Class name. The name is case-sensitive.

Params. Array of parameter values that must be sent to class constructor.

Description

The Create constructor creates an object that is a class instance with the specified name.

Comments

If a default constructor is used in the Python class, do not specify the Params parameter.

Example

The example of use is given in description of the IPythonClassObject.GetAttr method.

See also:

PythonClassObject