Visual Basic (Declaration) | |
---|---|
Public Delegate Function GetCustomIconHandler( _ ByVal sender As Object, _ ByVal args As GetCustomIconEventArgs _ ) As Icon |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As New GetCustomIconHandler(AddressOf HandlerMethod) |
C# | |
---|---|
public delegate Icon GetCustomIconHandler( object sender, GetCustomIconEventArgs args ) |
Parameters
- sender
- The sender.
- args
- The GetCustomIconEventArgs instance that contains the event data.
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8