Snippet: Public event with EventHandler<T>

property value
IDE Visual Studio
Language VB
Title Public event with EventHandler<T>
Shortcut et
Description Public event declaration with EventHandler<T>
Snippet Types Expansion
Namespaces System


Identifier Tooltip Default Value Editable Function Type Name
eventArgs EventArgs type name EventArgs yes
name Event name EventName yes
parameterName Parameter name e yes


Public Event EventName As EventHandler(Of EventArgs)

Protected Overridable Sub OnEventName(e As EventArgs)
	RaiseEvent EventName(Me, e)
End Sub