IOControlCode Klasse

Definition

Stellt den Steuerelementcode dar.

public ref class IOControlCode sealed : IIOControlCode
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Custom.IIOControlCodeFactory, 65536, Windows.Devices.Custom.CustomDeviceContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.Custom.CustomDeviceContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class IOControlCode final : IIOControlCode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.Custom.CustomDeviceContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Custom.IIOControlCodeFactory, 65536, "Windows.Devices.Custom.CustomDeviceContract")]
class IOControlCode final : IIOControlCode
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Custom.IIOControlCodeFactory), 65536, typeof(Windows.Devices.Custom.CustomDeviceContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.Custom.CustomDeviceContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class IOControlCode : IIOControlCode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.Custom.CustomDeviceContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Custom.IIOControlCodeFactory), 65536, "Windows.Devices.Custom.CustomDeviceContract")]
public sealed class IOControlCode : IIOControlCode
function IOControlCode(deviceType, function, accessMode, bufferingMethod)
Public NotInheritable Class IOControlCode
Implements IIOControlCode
Vererbung
Object Platform::Object IInspectable IOControlCode
Attribute
Implementiert

Windows-Anforderungen

Gerätefamilie
Windows Desktop Extension SDK (eingeführt in 10.0.10240.0)
Windows 10 Fall Creators Update (eingeführt in 10.0.16299.0)
API contract
Windows.Devices.Custom.CustomDeviceContract (eingeführt in v1.0)

Konstruktoren

IOControlCode(UInt16, UInt16, IOControlAccessMode, IOControlBufferingMethod)

Der Steuerelementcode.

Eigenschaften

AccessMode

Der Zugriffsmodus.

BufferingMethod

Die Puffermethode.

ControlCode

Der Steuerelementcode.

DeviceType

Der Gerätetyp.

Function

Die Funktion.

Gilt für:

Weitere Informationen