Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
This topic has not yet been rated - Rate this topic

UsbInterfaceSetting class

Applies to Windows only

Provides information about an alternate setting and select that setting. The app can get the USB interface descriptors for the setting and its endpoints, and determine whether this setting is currently selected.

Syntax


var usbInterfaceSetting = Windows.Devices.Usb.UsbInterface.InterfaceSettings;

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Version(0x06030000)]

Members

The UsbInterfaceSetting class has these types of members:

Methods

The UsbInterfaceSetting class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
SelectSettingAsync Selects the alternate setting as the current setting in the USB interface.

 

Properties

The UsbInterfaceSetting class has these properties.

PropertyAccess typeDescription

BulkInEndpoints

Read-onlyGets an array of objects that represent descriptors associated with USB bulk IN endpoints that are defined in the alternate setting.

BulkOutEndpoints

Read-onlyGets an array of objects that represent descriptors associated with USB bulk OUT endpoints that are defined in the alternate setting.

Descriptors

Read-onlyGets an array of objects that represent descriptors associated with the alternate setting.

InterfaceDescriptor

Read-onlyGets an object that represents the descriptor that describes the alternate setting.

InterruptInEndpoints

Read-onlyGets an array of objects that represent descriptors associated with USB interrupt IN endpoints that are defined in the alternate setting.

InterruptOutEndpoints

Read-onlyGets an array of objects that represent descriptors associated with USB interrupt OUT endpoints that are defined in the alternate setting.

Selected

Read-onlyDetermines whether the alternate setting is currently selected.

 

Remarks

For code example, see UsbInterface.

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps, desktop apps]

Minimum supported phone

None supported

Namespace

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

Metadata

Windows.winmd

See also

Object

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.