[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Document.ParameterCollection.Item

this Property

this[int]

Gets or sets the Parameter at the specified index.

Declaration
public Parameter this[int index] { get; set; }
Parameters
Type Name Description
int index

The zero-based index of the parameter to get or set.

Property Value
Type Description
Parameter

The Parameter at the specified index.

Implements
Exceptions
Type Condition
ArgumentOutOfRangeException

Thrown when index is less than 0 or equal to or greater than Count.

ArgumentNullException

Thrown when setting a null value.

this[string]

Gets the Parameter with the specified name.

Declaration
public Parameter this[string name] { get; }
Parameters
Type Name Description
string name

The name of the parameter to retrieve.

Property Value
Type Description
Parameter

The Parameter with the specified name.

Exceptions
Type Condition
KeyNotFoundException

Thrown if the parameter with the specified name is not found in the collection.