Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The Item property retrieves the object located at the specified index in this GuideDataProviders object collection.
Syntax
objGuideDataProviders.Item(varIndex) As GuideDataProvider
Parameters
varIndex
[in] Specifies the object to retrieve. This must be a numerical index in the range from 0 to GuideDataProviders.Count minus 1.
Error Codes
If the property fails, an error is raised and Err.Number is set to a value other than zero.
Return Values
The property returns a GuideDataProvider object.
Remarks
This property is the default member of the object, and you do not need to specify the property name when you retrieve it.
Example Code
' Retrieve the 25th item in the collection.
Dim objGuideDataProvider As GuideDataProvider
objGuideDataProvider = GuideDataProviders.Item(24)
' The following is equivalent, because this is the default property.
objGuideDataProvider = GuideDataProviders(24)
See Also