Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Structure methods cannot use the Handles keyword to handle events.
Error ID: BC30728
To correct this error
Consider redesigning your structure as a class.
You can use AddHandler to associate an event with an event handler in a structure, provided that the structure implements an event handler defined in an interface.
See Also
Concepts
Classes: Blueprints for Objects