Share via


Configuration.DeviceDescriptor Constructor

[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

See Also

Reference

Configuration. . :: . .DeviceDescriptor Class

Microsoft.SPOT.Hardware.UsbClient Namespace