Visual Basic (Declaration) | |
---|---|
Public Delegate Sub ItemEventHandler( _ ByVal sender As Object, _ ByVal e As ItemEventArgs _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As New ItemEventHandler(AddressOf HandlerMethod) |
C# | |
---|---|
public delegate void ItemEventHandler( object sender, ItemEventArgs e ) |
Parameters
- sender
- The source of the event.
- e
- An ItemEventArgs object that contains the event data.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family