Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Creates a new instance of the Configuration..::..DeviceDescriptor class.
Namespace: Microsoft.SPOT.Hardware.UsbClient
Assembly: Microsoft.SPOT.Hardware.Usb (in Microsoft.SPOT.Hardware.Usb.dll)
Syntax
'Declaration
Public Sub New ( _
Vendor As UShort, _
Product As UShort, _
DeviceVersion As UShort _
)
public DeviceDescriptor(
ushort Vendor,
ushort Product,
ushort DeviceVersion
)
public:
DeviceDescriptor(
unsigned short Vendor,
unsigned short Product,
unsigned short DeviceVersion
)
new :
Vendor:uint16 *
Product:uint16 *
DeviceVersion:uint16 -> DeviceDescriptor
public function Configuration..::..DeviceDescriptor(
Vendor : ushort,
Product : ushort,
DeviceVersion : ushort
)
Parameters
- Vendor
Type: System. . :: . .UInt16
Specifies the vendor identifier for the device as assigned by the USB specification committee.
- Product
Type: System. . :: . .UInt16
Specifies the product identifier. This value is assigned by the manufacturer and is device-specific.
- DeviceVersion
Type: System. . :: . .UInt16
Identifies the version of the device. This value is a binary-coded decimal number.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.