Cannot have multiple default property/method in a Class

In your class definition, you marked more than one property or method as the default. There can only be one default property and one default method in a class.

To correct this error

  • Make sure there is only one default property and one default method for this class.

See Also

Reference

Function Statement (VBScript)