Share via


CommandID Property

Retrieves the CommandID Constants for this DeviceCommand.

Syntax

[ pbstrResult = ] DeviceCommand.CommandID

Possible Values

pbstrResult String value that receives the Command ID.

The property is read-only. The property has no default value.

Remarks

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

Property Information

Minimum operating systems Windows XP SP1

See Also

CommandID Constants, ExecuteCommand (Device), DeviceCommand, ExecuteCommand (Item)