Device.Channels

Device.Channels

説明

デバイスに定義されている各Channelを含む ChannelCollection を戻します。

C#構文

// get accessor

ChannelCollection rtn = Device.Channels;

VBScript の例

Application.Devices.enable = true

set oDevice = Application.Devices.Item("Mouse")

If TypeName (oDevice) = "Nothing" Then

set oDevice = Application.Devices.AddDevice( "Mouse" )

End If

set oChannels = oDevice.Channels

for each oChannel in oChannels

	 logmessage "Channel: " & oChannel

next