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.

Definition

Namespace:Telerik.Reporting

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
[TypeConverter(typeof(ExpandableObjectConverter))]
public abstract class ReportSource

Inheritance: objectReportSource

Derived Classes: InstanceReportSourceTypeReportSourceUriReportSourceXmlReportSource

Constructors

ReportSource()

Initializes a new instance of the ReportSource class.

Declaration

cs-api-definition
protected ReportSource()

Properties

Parameters

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

Declaration

cs-api-definition
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

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

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)

GetHashCode()

Returns the hash code for this ReportSource.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A 32-bit signed integer hash code.

Overrides object.GetHashCode()

ToString()

Returns a string that represents the current ReportSource.

Declaration

cs-api-definition
public override string ToString()

Returns

string

A string that represents the current ReportSource.

Overrides object.ToString()