Leadtools.Wia Namespace > WiaSession Class : EnumDevicesEvent Event |
public event EventHandler<WiaEnumDevicesEventArgs> EnumDevicesEvent
'Declaration Public Event EnumDevicesEvent As EventHandler(Of WiaEnumDevicesEventArgs)
'Usage Dim instance As WiaSession Dim handler As EventHandler(Of WiaEnumDevicesEventArgs) AddHandler instance.EnumDevicesEvent, handler
public event EventHandler<WiaEnumDevicesEventArgs> EnumDevicesEvent
add_EnumDevicesEvent(function(sender, e)) remove_EnumDevicesEvent(function(sender, e))
public: event EventHandler<WiaEnumDevicesEventArgs^>^ EnumDevicesEvent
The event handler receives an argument of type WiaEnumDevicesEventArgs containing data related to this event. The following WiaEnumDevicesEventArgs properties provide information specific to this event.
Property | Description |
---|---|
DeviceDesc | Gets the description of the device being enumerated. |
DeviceID | Gets the ID string for the enumerated device. |
DeviceName | Gets the name of the enumerated device. |
Stop | Enables or disables firing the Leadtools.Wia.WiaSession.EnumDevicesEvent event. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2