Assembly: Python;
Namespace: Prognoz.Platform.Interop.Python;
The IPythonClassObject interface is used to work with the object that is an instance of a class in the Python language.
IPythonClassObject
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.
Property name | Brief description | |
Type | The Type property returns object type. |
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: