VB.Net - RaiseEvent

In VB.Net he RaiseEvent statement can be used to raise an event previously declared with the Event keyword.
This is the only way to cause an event to actually happen form within a class.

RaiseEvent EventName("Argument") 

This will generate an error if the event has not been declared in the same class.

© 2023 Better Solutions Limited. All Rights Reserved. © 2023 Better Solutions Limited TopPrevNext