SocketTools .NET Edition

GopherClient.OnItemListEventHandler Delegate

Represents the method that will handle the OnItemList event.

[Visual Basic]
Public Delegate Sub GopherClient.OnItemListEventHandler( _
   ByVal sender As Object, _
   ByVal e As ItemListEventArgs _
)
[C#]
public delegate void GopherClient.OnItemListEventHandler(
   object sender,
   ItemListEventArgs e
);

Parameters

sender
The source of the event.
e
An ItemListEventArgs that contains the event data.

Remarks

When you create an OnItemListEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, until you remove the delegate.

Note that the declaration of your event handler must have the same parameters as the OnItemListEventHandler delegate declaration.

Requirements

Namespace: SocketTools

Assembly: SocketTools.GopherClient (in SocketTools.GopherClient.dll)

See Also

SocketTools Namespace