Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The Item property retrieves a specified item in the collection.
Syntax
objMSVidAudioRendererDevices.Item(
v As Object
) As MSVidAudioRenderer
Parameters
v
Specifies the index of the item to retrieve. The valid range is from 0 to MSVidAudioRendererDevices.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 MSVidAudioRenderer object.
Remarks
This property is the default member of the MSVidAudioRendererDevices object, so you do not need to specify the property name when you retrieve it. For example, the following are equivalent:
Set objAudioRenderer = colAudioRenderers.Item(1)
Set objAudioRenderer = colAudioRenderers(1)
This property is read-only.
See Also