Class XmlReportSource
Represents a report source that contains the XML markup of a report document.
Inherited Members
Namespace: Telerik.Reporting
Assembly: Telerik.Reporting.dll
Syntax
public class XmlReportSource : ReportSource, IExpressionContainer, ICloneable
Examples
The following example shows how to create a XmlReportSource:
var xmlReportSource = new Telerik.Reporting.XmlReportSource();
// Specifying the XML markup of the report
xmlReportSource.Xml = @"
";
// Adding the initial parameter values
xmlReportSource.Parameters.Add(new Telerik.Reporting.Parameter("OrderNumber", "SO43659"));
Dim xmlReportSource As New Telerik.Reporting.XmlReportSource()
' Specifying the XML markup of the report
xmlReportSource.Xml = "" &
"" &
"" &
"" &
"" &
" " &
" " &
" " &
" " &
"" &
"" &
"" &
" " &
" " &
" " &
" " &
"" &
"" &
" " &
" " &
" " &
" "
' Adding the initial parameter values
xmlReportSource.Parameters.Add(New Telerik.Reporting.Parameter("OrderNumber", "SO43659"))
Constructors
XmlReportSource()
Properties
Xml
Gets or sets the XML markup of a IReportDocument.
Declaration
public string Xml { get; set; }
Property Value
System.String
|
Remarks
This property can accept an expression when the report source is used in a SubReport item or a NavigateToReportAction.
Methods
Equals(Object)
Determines whether this instance and a specified object have the same value.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The object to compare with this instance. |
Returns
System.Boolean
true if obj is an XmlReportSource and its value is the same as this instance; otherwise, false. |
Overrides
GetHashCode()
Returns the hash code for this XmlReportSource.
Declaration
public override int GetHashCode()
Returns
System.Int32
A 32-bit signed integer hash code. |
Overrides
ToString()
Returns a string that represents the current XmlReportSource.
Declaration
public override string ToString()
Returns
System.String
A string that represents the Xml of this XmlReportSource. |