UsbConfiguration クラス

定義

USB 構成、その記述子、およびその構成内で定義されているインターフェイスに関する情報を提供します。 USB 構成の説明については、ユニバーサル シリアル バス (USB) 仕様のセクション 9.6.3 を参照してください。

public ref class UsbConfiguration sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class UsbConfiguration final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class UsbConfiguration
Public NotInheritable Class UsbConfiguration
継承
Object Platform::Object IInspectable UsbConfiguration
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)

注釈

USB 構成内では、デバイスがサポートするインターフェイスの数に応じて、インターフェイスの数とその代替設定が変わります。 UsbConfigurationDescriptor と UsbConfigurationDescriptor.Descriptors を使用して、そのすべての情報収集できます。 UsbConfigurationDescriptor には、構成記述子の最初の 9 バイトが含まれています。 UsbConfigurationDescriptor.Descriptors オブジェクトには、すべてのインターフェイスとその設定に関連付けられた記述子の配列が含まれています。

プロパティ

ConfigurationDescriptor

USB 構成に関連付けられている記述子の最初の 9 バイトを含む オブジェクトを取得します。

Descriptors

USB 構成に関連付けられている記述子の完全なセットを表す オブジェクトの配列を取得します。

UsbInterfaces

USB 構成で使用できる USB インターフェイスの配列を取得します。

適用対象