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

In This Topic
    EOF Property (XMLDataSource)
    In This Topic

    Determines whether the CurrentPosition is at the end of the NodeList.

    Syntax
    'Declaration
     
    Public ReadOnly Property EOF As Boolean
    public bool EOF {get;}
    Example
    Paste into the Detail Format event.
    GrapeCity.ActiveReports.Data.XMLDataSource xDS = new GrapeCity.ActiveReports.Data.XMLDataSource();
    
        if (xDS.BOF && xDS.EOF)
        {
            return;
        }
    Paste into the Detail Format event.
    Dim xDS As New GrapeCity.ActiveReports.Data.XMLDataSource()
    Dim rpt As New SectionReport1()
    
        If xDS.BOF & xDS.EOF Then
            Exit Sub
        End If
    See Also