[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.SectionReportModel.ParameterCollection

ParameterCollection Class

Summary description for ParameterCollection.

Inheritance
ParameterCollection
Namespace: GrapeCity.ActiveReports.SectionReportModel
Assembly: MESCIUS.ActiveReports.dll
Syntax
public class ParameterCollection : CollectionBase, IList, ICollection, IEnumerable, IDisposable

Constructors

Name Description
ParameterCollection(IComponent)

Initializes a new instance of the ParameterCollection class.

Properties

Name Description
this[int]

Gets the element at the specified index.

this[string]

Gets the Parameter with the specified key.

ParseResult

Returns the results of parsing the report's parameter values.

Methods

Name Description
Add(Parameter)

Adds a Parameter object to the Parameter collection.

AddRange(ParameterCollection)

Adds a range of Parameter objects to the Parameter collection.

AddRange(Parameter[])

Adds a range of Parameter objects to the Parameter collection.

AtLeastOneNeedsPrompt()

Determine if prompt is needed. Goes thru all the parameters and even if one of them has DontPrompt = false, returns.

AtLeastOneQueryCreated()

Determine if prompt is needed. Goes thru all the parameters and even if one of them has DontPrompt = false, returns.

ClearQueryCreated()

For internal use only.

Contains(Parameter)

Determines whether the collection contains the specified parameter.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Dispose(bool)

Releases unmanaged and - optionally - managed resources.

IndexOf(Parameter)

Returns the index of the specified Parameter object in the collection.

Insert(int, Parameter)

Inserts a Parameter object into the collection at the specified index.

OnClearComplete()

Performs additional custom processes after clearing the contents of the CollectionBase instance.

OnInsertComplete(int, object)

Performs additional custom processes after inserting a new element into the CollectionBase instance.

OnRemoveComplete(int, object)

Performs additional custom processes after removing an element from the CollectionBase instance.

Remove(Parameter)

Removes a parameter from the collection.

SetParameterQueryAsCustom()

Make the query-created parameter use properties of parameter in ReportExplorer. Notice:If user wants to use this kind of parameter, a prefix 'param:' must be added into query like "select * from customer where country='<%param:parameter1%>' "

Events

Name Description
Cleared

Occurs when Parameter collection is cleared.

Loaded

Occurs when Parameter collection is loaded.

Modified

Occurs when Parameter collection is modified.

Extension Methods