dotConnect for SQL Server Documentation
Devart.Common Namespace / DbDataTable Class / Columns Property

In This Topic
    Columns Property (DbDataTable)
    In This Topic
    Gets the collection of columns that belong to this table.
    Syntax
    'Declaration
     
    Public Shadows ReadOnly Property Columns As DataColumnCollection
    public new DataColumnCollection Columns {get;}

    Property Value

    A System.Data.DataColumnCollection that contains the collection of System.Data.DataColumn objects for the table; otherwise, a null value if no System.Data.DataColumn objects exist.

    This property is read-only.

    Remarks
    The System.Data.DataColumnCollection determines the schema of a table by defining the data type of each column.
    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