Microsoft DirectX 8.1 (C++)

ICATolls.Item

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The Item property retrieves a toll from the collection.

Syntax

objCATolls.Item(Index) As ICAToll

Parameters

  Index

VARIANT that specifies the toll to retrieve. This parameter can be a zero-based index into the collection, an ICAToll object already in the collection, or a string containing the CLSID of the toll.

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 ICAToll object.

Remarks

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

Set toll = tolls.Item(1)
Set toll = tolls(1)

This property is read-only.

See Also