Chapter 17 Working with VB .NET


Delegate

You can design the following types of VB .NET delegates:

...
Public Delegate Function ActionOccurred () As Object
...

...
Public Module Utilities
   Public Delegate Function NewWorker () As Object
   Public Class Worker
      Public Delegate Function WorkStarted () As Object
   End Class
End Module
...

 


Copyright (C) 2006. Sybase Inc. All rights reserved.