Class FilterDeviceDefinition
Inheritance
System.Object
FilterDeviceDefinition
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Device.Net
Assembly: Device.Net.dll
Syntax
public sealed class FilterDeviceDefinition
Constructors
FilterDeviceDefinition(Nullable<UInt32>, Nullable<UInt32>, Nullable<UInt16>, String, Nullable<Guid>)
Declaration
public FilterDeviceDefinition(uint? vendorId = null, uint? productId = null, ushort? usagePage = null, string label = null, Guid? classGuid = null)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.UInt32> | vendorId | |
System.Nullable<System.UInt32> | productId | |
System.Nullable<System.UInt16> | usagePage | |
System.String | label | |
System.Nullable<System.Guid> | classGuid |
Properties
ClassGuid
Declaration
public Guid? ClassGuid { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
Label
Not used for filtering. Only used to give a meaningful name to the filter that is carried on to the device definition
Declaration
public string Label { get; }
Property Value
Type | Description |
---|---|
System.String |
ProductId
Product Id
Declaration
public uint? ProductId { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.UInt32> |
UsagePage
Used to further filter down device definitions on some platforms
Declaration
public ushort? UsagePage { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.UInt16> |
VendorId
Declaration
public uint? VendorId { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.UInt32> |