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. |