ListEventHandler Delegate
[C#]
public delegate bool ListEventHandler(
object sender,
FileInfo[] fileInfos,
bool endOfList);
Parameters
- sender: The source of the event.
- fileInfos: An array of FileInfos.
- endOfList: If endOfList=true, then this is the last call.
Return Value
Return false to cancel the listing.
Remarks
The handler may be called multiple times. On success the last call will have endOfList=true. If you return false or if an error occurs, the listing is canceled.