ReportParameterValues Collection

Crystal Report Plugin Library
See Also  

ReportParameterValues returns a collection of ReportParameterValue objects that represent the value, or values, for a specified parameter. It allows you to examine each parameter value in the collection, as well as to add and remove values.

Note that while it is specified that the collection contains an array of ReportParameterValue objects, this is actually a super-class of the ReportParameterRangeValue and ReportParameterSingleValue classes, and is thus, an abstract class. When you access an item in the collection, you will actually retrieve one of the two sub-classes. These classes have the IsSingleValue Property and IsRangeValue Property to identify themselves. ReportParameterValues is owned by the ReportParameter Object.

Properties

Property Description

Count Property

Specifies the number of parameter values contained in the collection. Read-Only.

Item Property

This is the collection of parameter values. Read-Only.

Methods

Method Explanation

Add Method

Adds a parameter value to the list.

Clear Method

Removes all parameter values from the collection.

Delete Method

Removes a parameter value from the collection.



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