JavaScript Editor Ajax toolkit     Ajax website 

Main Page

A visibility modifier is applied to a class or interface that cannot take that modifier or to a member of a class or interface defined with an incompatible overall modifier.

To correct this error

  1. Remove the visibility modifier or use an alternative modifier.

  2. Make sure that visibility modifiers applied to class members match the visibility of the class.

See Also


Troubleshooting Your Scripts
JScript Modifiers

Other Resources

JScript Reference
Class-based Objects

JavaScript Editor Ajax toolkit     Ajax website