New to Telerik ReportingStart a free 30-day trial

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.

Definition

Namespace:Telerik.Reporting

Assembly:Telerik.Reporting.dll

Syntax:

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public abstract class ReportSource

Inheritance: objectReportSource

Derived Classes: InstanceReportSourceTypeReportSourceUriReportSourceXmlReportSource

Constructors

Initializes a new instance of the ReportSource class.

C#
protected ReportSource()

Properties

Gets the parameter values that are passed to the IReportDocument object when its instance is initialized.

C#
public ParameterCollection Parameters { get; }
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

Determines whether this instance and a specified object have the same value.

C#
public override bool Equals(object obj)
Parameters:objobject

The object to compare with this instance.

Returns:

bool

true if obj is a ReportSource and its value is the same as this instance; otherwise, false.

Overrides: object.Equals(object)

Returns the hash code for this ReportSource.

C#
public override int GetHashCode()
Returns:

int

A 32-bit signed integer hash code.

Overrides: object.GetHashCode()

Returns a string that represents the current ReportSource.

C#
public override string ToString()
Returns:

string

A string that represents the current ReportSource.

Overrides: object.ToString()