Class
InstanceReportSource

This report source is used when you have a reference to an already instantiated report (Report instance). For better performance and compatibility use TypeReportSource. Represents a report source that contains a reference to an instance of IReportDocument.

Definition

Namespace:Telerik.Reporting

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
public class InstanceReportSource : ReportSource

Inheritance: objectReportSourceInstanceReportSource

Inherited Members ReportSource.Parameters

Constructors

InstanceReportSource()

Initializes a new instance of the InstanceReportSource class.

Declaration

cs-api-definition
public InstanceReportSource()

Properties

ReportDocument

Gets or sets the IReportDocument instance for the report source.

Declaration

cs-api-definition
public IReportDocument ReportDocument { get; set; }

Property Value

IReportDocument

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 an InstanceReportSource and its value is the same as this instance; otherwise, false.

Overrides ReportSource.Equals(object)

GetHashCode()

Returns the hash code for this InstanceReportSource.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A 32-bit signed integer hash code.

Overrides ReportSource.GetHashCode()

ToString()

Returns a string that represents the current InstanceReportSource.

Declaration

cs-api-definition
public override string ToString()

Returns

string

A string that represents the ReportDocument of this InstanceReportSource, or an empty string if ReportDocument is null.

Overrides ReportSource.ToString()