Class ReportSource
Provides the base class for a report source. This is an abstract class that contains only a collection of parameter values that are passed to the IReportDocument object when its instance is initialized.
Inheritance
Namespace: Telerik.Reporting
Assembly: Telerik.Reporting.dll
Syntax
public abstract class ReportSource : IExpressionContainer, ICloneable
Constructors
ReportSource()
Initializes a new instance of the ReportSource class.
Declaration
protected ReportSource()
Properties
Parameters
Gets the parameter values that are passed to the IReportDocument object when its instance is initialized.
Declaration
public ParameterCollection Parameters { get; }
Property Value
ParameterCollection
|
Remarks
The parameter name must match the name of the ReportParameter of the IReportDocument in order the value to be passed correctly. If a parameter (available in the report definition) is omitted in this collection, the report will be processed by evaluating the Value property of the Report Parameter in the report definition.
Methods
Equals(Object)
Determines whether this instance and a specified object have the same value.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The object to compare with this instance. |
Returns
System.Boolean
true if obj is a ReportSource and its value is the same as this instance; otherwise, false. |
Overrides
GetHashCode()
Returns the hash code for this ReportSource.
Declaration
public override int GetHashCode()
Returns
System.Int32
A 32-bit signed integer hash code. |
Overrides
ToString()
Returns a string that represents the current ReportSource.
Declaration
public override string ToString()
Returns
System.String
A string that represents the current ReportSource. |