Class TypeReportSource
Represents a report source that allows a report document to be instantiated from an System.
Inherited Members
Namespace: Telerik.Reporting
Assembly: Telerik.Reporting.dll
Syntax
public class TypeReportSource : ReportSource, IExpressionContainer, ICloneable
Examples
The following example shows how to create a Type
var typeReportSource = new Telerik.Reporting.TypeReportSource();
// Specifying the assembly qualified name of the Report class for the TypeName of the report source
typeReportSource.TypeName = typeof(Invoice).AssemblyQualifiedName;
// Adding the initial parameter values
typeReportSource.Parameters.Add(new Telerik.Reporting.Parameter("OrderNumber", "SO43659"));
Dim typeReportSource As New Telerik.Reporting.TypeReportSource()
' Specifying the assembly qualified name of the Report class for the TypeName of the report source
typeReportSource.TypeName = GetType(Invoice).AssemblyQualifiedName
' Adding the initial parameter values
typeReportSource.Parameters.Add(New Telerik.Reporting.Parameter("OrderNumber", "SO43659"))
Constructors
TypeReportSource()
Properties
TypeName
Gets or sets the assembly qualified type name of the report document.
Declaration
public string TypeName { get; set; }
Property Value
System.
|
Remarks
Use this property to specify the type name of the report document.
Must be the assembly qualified name of the System.
The target type should implement the
IReport
This property can accept an expression when the report source is used in a Sub
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
System.
|
Returns
System.
|
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
System.
|
Overrides
ToString()
Declaration
public override string ToString()
Returns
System.
|