How do you trigger an event in VB.NET
-
RaiseEvent keyword
-
TriggerEvent keyword
-
AddEvent Keyword
-
None
A
Correct answer
Explanation
VB.NET uses the RaiseEvent keyword as the standard mechanism for triggering events within a class. This is the built-in language feature that invokes all event handlers subscribed to that event. Options TriggerEvent and AddEvent are not valid VB.NET keywords - they do not exist in the language. When you need to fire an event in VB.NET, you use RaiseEvent followed by the event name.