UsbEndpointDescriptor クラス

定義

エンドポイントの USB エンドポイント記述子から、型、方向、エンドポイント番号などの情報を派生させます。 このオブジェクトは、エンドポイントの種類に基づいて特定のエンドポイント記述子も取得します。 エンドポイント記述子の説明については、ユニバーサル シリアル バス仕様のセクション 9.6.5 を参照してください。

  • ユニバーサル シリアル バス 3.0 仕様の表 9.18
  • ユニバーサル シリアル バス仕様 (バージョン 2.0) の表 9.13
public ref class UsbEndpointDescriptor sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class UsbEndpointDescriptor final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class UsbEndpointDescriptor
Public NotInheritable Class UsbEndpointDescriptor
継承
Object Platform::Object IInspectable UsbEndpointDescriptor
属性

Windows の要件

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

プロパティ

AsBulkInEndpointDescriptor

USB bulk IN エンドポイントのエンドポイント記述子を表す オブジェクトを取得します。

AsBulkOutEndpointDescriptor

USB bulk OUT エンドポイントのエンドポイント記述子を表す オブジェクトを取得します。

AsInterruptInEndpointDescriptor

USB 割り込み IN エンドポイントのエンドポイント記述子を表す オブジェクトを取得します。

AsInterruptOutEndpointDescriptor

USB 割り込み OUT エンドポイントのエンドポイント記述子を表す オブジェクトを取得します。

Direction

USB エンドポイントの方向を取得します。

EndpointNumber

USB エンドポイント番号を取得します。

EndpointType

USB エンドポイントの種類を取得します。

メソッド

Parse(UsbDescriptor)

指定した USB 記述子を解析し、 UsbEndpointDescriptor オブジェクトの USB エンドポイント記述子を返します。

TryParse(UsbDescriptor, UsbEndpointDescriptor)

UsbDescriptor オブジェクトに含まれている UsbEndpointDescriptor オブジェクト内の USB エンドポイント記述子を取得します。

適用対象