Skip to main content
UsbInterface.InterfaceNumber | interfaceNumber property

Gets the interface number that identifies the USB interface. This value is the bInterfaceNumber field of a standard USB interface descriptor.

Syntax


var interfaceNumber = usbInterface.interfaceNumber;

public byte InterfaceNumber { get; }

Public ReadOnly Property InterfaceNumber As Byte

public:
property unsigned char InterfaceNumber { 
   unsigned char get();
}

Property value

Type: Number [JavaScript] | System.Byte [.NET] | uint8 [C++]

The interface number that identifies the USB interface.

Requirements ( device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Devices.Usb
Windows::Devices::Usb [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

Windows.Devices.Usb
Windows::Devices::Usb [C++]

Metadata

Windows.winmd

See also

UsbInterface