Dart.Ftp Namespace > Ftp Class : OnListing Method |
Protected Overridable Sub OnListing( _ ByVal e As ListingEventArgs _ )
Dim instance As Ftp Dim e As ListingEventArgs instance.OnListing(e)
protected virtual void OnListing( ListingEventArgs e )
protected: virtual void OnListing( ListingEventArgs^ e )
The OnListing method allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class, but marshaling is not provided.
Note to Inheritors: When overriding OnListing in a derived class, be sure to call the base class OnListing method, so that registered delegates receive the event.
See the SynchronizingObject property for information on updating UI controls in your event handler.