This documentation is archived and is not being maintained.

JS1257: Expando methods must be public

A method that has an expando modifier also has a visibility modifier that is not public. This is not allowed.

To correct this error

  • Remove either the expando or visibility modifier from the method declaration.

See Also

Troubleshooting Your Scripts | JScript Reference | JScript Modifiers

Show: