Type.callBaseMethod Method

Invokes a base method with specified arguments.

instanceVar.callBaseMethod(instance, name, baseArguments);

instance

The instance whose base method is being called. Usually this.

name

A string that represents the name of the base method.

baseArguments

(Optional) An array of arguments to pass to the base method. Can be null or an Array object that has a null element.

A value of the class that the base method returns. If the base method does not return a value, no value is returned.

Exception type

Condition

Error.invalidOperation Function

(Debug) name does not exist for the base class.

Use the callBaseMethod method to call a base method from an instance of a derived class.

Show: