次の方法で共有


DeviceInfo.DeviceID property

Retrieves the DeviceID (DeviceInfo) for this DeviceInfo object.

This property is read-only.

Syntax

Property DeviceID( _
)

Property value

String value.

Remarks

For example code, see List all Available Devices by Name and DeviceID 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

DeviceID (Device)

DeviceInfo

OnEvent

RegisterEvent

RegisterPersistentEvent

UnregisterEvent

UnregisterPersistentEvent