'Declaration
Public Event DeviceDiscovered As EventHandler(Of Device)
'Usage
Dim instance As DeviceRepository Dim handler As EventHandler(Of Device) AddHandler instance.DeviceDiscovered, handler
public event EventHandler<Device> DeviceDiscovered
Event Data
The event handler receives an argument of type Device containing data related to this event. The following Device properties provide information specific to this event.
Property | Description |
---|---|
SystemIndex | Index of device in repository. |
Requirements
Target Platforms: Windows 10, Windows 11
Target Framework: .NET Framework 4.8 or later
See Also