JavaScript Editor Ajax toolkit     Ajax website 

Main Page

A visibility modifier exists in an inappropriate context. This can occur when applying a modifier to an expression that cannot take the modifier or when using a modifier for a member of a class or interface that already has an incompatible 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

JavaScript Editor Ajax toolkit     Ajax website