Microsoft DirectX 9.0

MSVidInputDevices.Item

This topic applies to Windows XP only.

The Item property retrieves the specified item from the collection.

Syntax

objMSVidInputDevices.Item(
    v As Object
) As MSVidInputDevice

Parameters

  v

Specifies the index of the item to retrieve. The valid range is from 0 to MSVidInputDevices.Count - 1.

Error Codes

If the property fails, an error is raised and Err.Number is set to a value other than zero.

Return Values

Returns either an MSVidAnalogTunerDevice object or an MSVidBDATunerDevice object.

Remarks

This property is the default member of the MSVidInputDevices object, so you do not need to specify the property name when you retrieve it. For example, the following are equivalent:

Set objInput = colInputs.Item(1)
Set objInput = colInputs(1)

This property is read-only.

See Also