ActiveReports 18 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports.Data Namespace / XMLDataSource Class / Document Property
Example

In This Topic
    Document Property (XMLDataSource)
    In This Topic
    Returns a reference to the loaded XmlDocument that is used as the data source.
    Syntax
    'Declaration
     
    Public ReadOnly Property Document As XmlDocument
    public XmlDocument Document {get;}
    Example
    Private void rpt_ReportStart(object sender, System.EventArgs eArgs)
    {
        System.Windows.Forms.MessageBox.Show (this.ds.Document.BaseURI.ToString());
    }
    Private Sub rpt_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart
        MsgBox(Me.ds.Document.BaseURI.ToString)
    End Sub
    See Also