Microsoft DirectX 9.0

MSVidVideoRendererDevices.Item

This topic applies to Windows XP only.

The Item property retrieves the specified item from the collection.

Syntax

objMSVidVideoRendererDevices.Item(
    v As Object
) As MSVidVideoRenderer

Parameters

  v

Specifies the index of the item to retrieve. The valid range is from 0 to MSVidVideoRendererDevices.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 an MSVidVideoRenderer object.

Remarks

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

Set objVideoRenderer = colVideoRenderers.Item(1)
Set objVideoRenderer = colVideoRenderers(1)

This property is read-only.

See Also