The event handler receives an argument of type WiaEnumItemsEventArgs containing data related to this event. The following WiaEnumItemsEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Item | Gets the enumerated item. |
ItemsCount | Gets the count of the items being enumerated. |
Stop | Enables or disables firing the EnumItemsEvent event. |
This event will be called while enumerating the WIA child items for the parent item passed through the call to the EnumChildItems method to provide the user with a handle for each found child item and also gives the ability to abort the enumeration process.
Refer to WiaSession.GetRootItem.Refer to WiaSession.GetRootItem.