Namespace: HidSharpAssembly: HidSharp (in HidSharp.dll) Version: 2.0.0
public static bool MatchHidDevices(
Device device,
Nullable<int> vendorID = null,
Nullable<int> productID = null,
Nullable<int> releaseNumberBcd = null,
string serialNumber = null
)
Public Shared Function MatchHidDevices (
device As Device,
Optional vendorID As Nullable(Of Integer) = Nothing,
Optional productID As Nullable(Of Integer) = Nothing,
Optional releaseNumberBcd As Nullable(Of Integer) = Nothing,
Optional serialNumber As String = Nothing
) As Boolean
public:
static bool MatchHidDevices(
Device^ device,
Nullable<int> vendorID = nullptr,
Nullable<int> productID = nullptr,
Nullable<int> releaseNumberBcd = nullptr,
String^ serialNumber = nullptr
)
static member MatchHidDevices :
device : Device *
?vendorID : Nullable<int> *
?productID : Nullable<int> *
?releaseNumberBcd : Nullable<int> *
?serialNumber : string
(* Defaults:
let _vendorID = defaultArg vendorID null
let _productID = defaultArg productID null
let _releaseNumberBcd = defaultArg releaseNumberBcd null
let _serialNumber = defaultArg serialNumber null
*)
-> bool
Parameters
- device
- Type: HidSharpDevice
- vendorID (Optional)
- Type: SystemNullableInt32
- productID (Optional)
- Type: SystemNullableInt32
- releaseNumberBcd (Optional)
- Type: SystemNullableInt32
- serialNumber (Optional)
- Type: SystemString
Return Value
Type:
Boolean
Reference