Share via


DeviceCommands object

Contains a collection of all the supported DeviceCommand objects for an imaging device. For more details on determining the collection of supported device commands, see the Commands (Device) property or Commands (Item) property.

Members

The DeviceCommands object has these types of members:

Properties

The DeviceCommands object has these properties.

Property Access type Description
Count (DeviceCommands)
Read-only
Retrieves the number of members in the DeviceCommands collection.
Item (DeviceCommands)
Read-only
Retrieves the specified item in the DeviceCommands collection by position.

Remarks

Note that the supported commands vary from one imaging device to the next.

For example code, see Enumerate Supported Commands in Commands Collection in Shared Samples.

Creation\Access Functions

Use any of the following to retrieve a reference to the object:

Commands (Item)

Commands (Device)

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 R2 [desktop apps only]
Header
Wiaaut.h
IDL
Wiaaut.idl

See also

Reference

Commands (Device)

Commands (Item)