'Declaration Public Delegate Sub DataItemEventHandler( _ ByVal sender As Object, _ ByVal e As DataItemEventArgs _ )
'Usage Dim instance As New DataItemEventHandler(AddressOf HandlerMethod)
public delegate void DataItemEventHandler( object sender, DataItemEventArgs e )
public: __gc __delegate void DataItemEventHandler( Object* sender, DataItemEventArgs* e )
public delegate void DataItemEventHandler( Object^ sender, DataItemEventArgs^ e )
Parameters
- sender
- The object that issued the event to read or write a data item.
- e
- Arguments for the read and write events. This object has properties for the data that the object that raises the event and the code that handles the event pass to each other.