Item Property

Applies To   See Also   Example  

Use this property to retrieve information for each parameter value in the parameter given an Index. The Index must be an ordinal position. Read-Only.

Syntax
Property Item(
    Index) As ReportParameterValue
Parameters

Index

Index of the parameter value to be retrieved. The index must be an ordinal position. The index is one-based.

Remarks

The Item collection can be used, in conjunction with the Count property, to enumerate through all the parameter values for a particular parameter. Although it is specified that the collection stores ReportParameterValue objects, it actually stores both the ReportParameterSingleValue Object and the ReportParameterRangeValue Object. When accessing this collection, you will retrieve one of the two.

Note:    The collection is indexed from one. That is, the index of the first item in the collection is one, and not zero.

This is the ReportParameterValues collection's default property. For tips on how to use default properties to reduce the amount of code you need to write, see Using default properties.



Crystal Decisions, Inc.
http://www.crystaldecisions.com
Support services:
http://support.crystaldecisions.com