IPythonClassObject

Assembly: Python;

Description

The IPythonClassObject interface is used to work with the object that is an instance of a class in the Python language.

Inheritance Hierarchy

          IPythonObject

          IPythonClassObject

Comments

To create a new object that is an instance of the Python class, use the PythonClassObject Fore class. If the Python class instance is a result of any Python function execution, cast the result of the Invoke method to the IPythonClassObject interface. To check if this type is a result of Python function execution, use the IPythonObject.Type property.

Properties inherited from IPythonObject

  Property name Brief description
Type The Type property returns object type.

Methods

  Method name Brief description
GetAttr The GetAttr method gets values of the argument with the specified name from class instance.
Invoke The Invoke method executes class function and returns result of its work.
SetAttr The SetAttr method sets value of the argument with the specified name from class instance.

See also:

Python Assembly Interfaces