Type.callBaseMethod Method

Invokes a base method with specified arguments.

instanceVar.callBaseMethod(instance, name, baseArguments);

Methods

  • 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.

Return Value

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

Exceptions

Exception type

Condition

Error.invalidOperation Function

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

Remarks

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

See Also

Reference

Type Class