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.
Inherited Members
Namespace: Telerik.Reporting
Assembly: Telerik.Reporting.dll
Syntax
public class InstanceReportSource : ReportSource, IExpressionContainer, ICloneable
Examples
The following example shows how to create an InstanceReportSource:
var instanceReportSource = new Telerik.Reporting.InstanceReportSource();
// Assigning the Report object to the InstanceReportSource
instanceReportSource.ReportDocument = new Telerik.Reporting.Examples.CSharp.Invoice();
// Adding the initial parameter values
instanceReportSource.Parameters.Add(new Telerik.Reporting.Parameter("OrderNumber", "SO43659"));
Dim instanceReportSource As New Telerik.Reporting.InstanceReportSource()
' Assigning the Report object to the InstanceReportSource
instanceReportSource.ReportDocument = New Invoice()
' Adding the initial parameter values
instanceReportSource.Parameters.Add(New Telerik.Reporting.Parameter("OrderNumber", "SO43659"))
Constructors
InstanceReportSource()
Initializes a new instance of the InstanceReportSource class.
Declaration
public InstanceReportSource()
Properties
ReportDocument
Gets or sets the IReportDocument instance for the report source.
Declaration
public IReportDocument ReportDocument { get; set; }
Property Value
IReportDocument
|
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
|
Returns
System.Boolean
|
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
System.Int32
|
Overrides
ToString()
Declaration
public override string ToString()
Returns
System.String
|