Snippet: Public event

property value
IDE Visual Studio
Language VB
Title Public event
Shortcut et
Description Public event declaration
Snippet Types Expansion
Namespaces System

Placeholders

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

Code

Public Event EventName As EventHandler

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