LibUsbDotNet 2.2.8
Equals Method (other)
Library Reference ► LibUsbDotNet.Descriptors ► UsbDeviceDescriptor ► Equals(UsbDeviceDescriptor)
|
![]() |
Determines whether the specified UsbDeviceDescriptor is equal to the current UsbDeviceDescriptor.

C# | Visual Basic | Visual C++ |
public bool Equals( UsbDeviceDescriptor other )
Public Function Equals ( _ other As UsbDeviceDescriptor _ ) As Boolean
public: bool Equals( UsbDeviceDescriptor^ other )

- other (UsbDeviceDescriptor)
- The UsbDeviceDescriptor to compare with the current UsbDeviceDescriptor.

true if the specified UsbDeviceDescriptor is equal to the current UsbDeviceDescriptor; otherwise, false.

Exception | Condition |
---|---|
NullReferenceException | The other parameter is null. |