[]
        
(Showing Draft Content)

C1.WPF.Report.FlexReport.GetReportList

GetReportList Method

GetReportList(XmlDocumentWrapperBase)

Gets a list of reports available in an C1.WPF.Document.Serialization.XmlDocumentWrapperBase.

Declaration
public static string[] GetReportList(XmlDocumentWrapperBase doc)
Parameters
Type Name Description
XmlDocumentWrapperBase doc

Reference to C1.WPF.Document.Serialization.XmlDocumentWrapperBase object.

Returns
Type Description
string[]

A string array containing the names of all reports in the document.

GetReportList(string)

Gets a list of reports available in an XML report definition file.

Declaration
public static string[] GetReportList(string fileName)
Parameters
Type Name Description
string fileName

Contains the full name of the XML report definition file.

Returns
Type Description
string[]

A string array containing the names of all reports in the XML file.

GetReportList(Stream)

Gets a list of reports available in an XML report definition file.

Declaration
public static string[] GetReportList(Stream stream)
Parameters
Type Name Description
Stream stream

Contains the stream with XML report definition.

Returns
Type Description
string[]

A string array containing the names of all reports in the XML definition.

GetReportList(XmlDocument)

Gets a list of reports available in an System.Xml.XmlDocument.

Declaration
public static string[] GetReportList(XmlDocument doc)
Parameters
Type Name Description
XmlDocument doc

Reference to System.Xml.XmlDocument object.

Returns
Type Description
string[]

A string array containing the names of all reports in the XmlDocument.

GetReportList(XDocument)

Gets a list of reports available in an System.Xml.Linq.XDocument.

Declaration
public static string[] GetReportList(XDocument doc)
Parameters
Type Name Description
XDocument doc

Reference to System.Xml.Linq.XDocument object.

Returns
Type Description
string[]

A string array containing the names of all reports in the XDocument.