lang • special • unknown


Public Sub _unknown ( ... ) As Variant

The _unknown method is called when the interpreter didn't find a method or property symbol in the class declaration.

This method takes a variable number of arguments, and returns a Variant value.

Inside the implementation function, you must use the Param class:

  • The Param.Name property will tell you the name of the unknown symbol.

  • The other Param properties will allow you to retrieve the arguments passed to the unknown method or property.

If the unknown symbol is a property, then:

  • If the property is read, the _unknown method will receive no arguments.

  • If the property is written, then the _unknown method will receive one argument, the new value of the property.

See also