Determines whether the specified UsbDeviceDescriptor is equal to the current UsbDeviceDescriptor.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public bool Equals( UsbDeviceDescriptor other )
Public Function Equals ( _ other As UsbDeviceDescriptor _ ) As Boolean
public: bool Equals( UsbDeviceDescriptor^ other )
Parameters
- other (UsbDeviceDescriptor)
- The UsbDeviceDescriptor to compare with the current UsbDeviceDescriptor.
Return Value
true if the specified UsbDeviceDescriptor is equal to the current UsbDeviceDescriptor; otherwise, false.
Exceptions
Exception | Condition |
---|---|
NullReferenceException | The other parameter is null. |