dotConnect for DB2 Documentation
Devart.Data.DB2 Namespace / DB2DataReader Class / VisibleFieldCount Property

In This Topic
    VisibleFieldCount Property
    In This Topic
    Gets the number of columns in the current row.
    Syntax
    'Declaration
     
    Public Overrides ReadOnly Property VisibleFieldCount As Integer
    public override int VisibleFieldCount {get;}

    Property Value

    When not positioned in a valid record set, 0; otherwise the number of columns in the current record. The default is -1.
    Remarks
    After executing a query that does not return rows, VisibleFieldCount returns 0.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also