Multiple choice technology programming languages

How do you trigger an event in VB.NET

  1. RaiseEvent keyword

  2. TriggerEvent keyword

  3. AddEvent Keyword

  4. None

Reveal answer Fill a bubble to check yourself
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.