次の方法で共有


DeviceCommand.CommandID property

Retrieves the CommandID Constants for this DeviceCommand.

This property is read-only.

Syntax

Property CommandID( _
)

Property value

String value that receives the Command ID.

Remarks

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

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

CommandID Constants

ExecuteCommand (Device)

DeviceCommand

ExecuteCommand (Item)