Microsoft DirectX 9.0

ITuningSpaces.Item

The Item property retrieves the item at the specified index.

Syntax

objITuningSpaces.Item(varIndex) As TuningSpace

Parameters

 varIndex

Specifies the index of the item to retrieve. Must be no greater than the number returned from the ITuningSpaces.Count property.

Error Codes

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

Return Value

This property returns the item as an object. See Remarks

Remarks

The specific object type depends on the CLSID or name that was specified when the collection was obtained from the SystemTuningSpaces.TuningSpacesForCLSID or SystemTuningSpaces.TuningSpacesForName method. The possible types are: