JavaScript Editor Ajax toolkit     Ajax website 



Main Page

A derived class implements an interface or extends a base class. The derived class has a method that has the same name and parameter list as a method in the interface or base class, but the return type is different. Two methods cannot have the same name and parameter list but different return types.

To correct this error

  1. Rename the function in the derived class.

  2. Change the return types or the methods so they match in the derived class and interface or base class.

See Also

Concepts

Troubleshooting Your Scripts

Other Resources

JScript Reference
Class-based Objects



JavaScript Editor Ajax toolkit     Ajax website


©