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

In This Topic
    BOF Property
    In This Topic
    Determines whether the CurrentPosition is at the first node in the NodeList.
    Syntax
    'Declaration
     
    Public ReadOnly Property BOF As Boolean
    public bool BOF {get;}

    Property Value

    Boolean. True if the CurrentPostion is at the first node in the NodeList; otherwise, False.

    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()
        
        If xDS.BOF & xDS.EOF Then
            Exit Sub
        End If
    See Also