ComponentOne ADO.NET DataExtender
C1.C1DataExtender.2 Assembly / C1.C1DataExtender Namespace / C1DataView Class / Columns Property

In This Topic
    Columns Property (C1DataView)
    In This Topic
    Gets the collection of C1ViewColumn objects that belong to this C1DataView.
    Syntax
    'Declaration
     
    Public ReadOnly Property Columns As C1ViewColumnCollection
    public C1ViewColumnCollection Columns {get;}
    Remarks
    The set of columns represented by C1DataView is defined as a part of view definition statement (see Definition). C1DataViewSet can make the following forced corrections to the final set of columns:
    • Columns that are in the primary key of C1DataView are included in the list of columns even if they are not specified in the definition statement.
    • For joined DataTable objects in composite view, columns that are in the child key of DataRelation that join is based on are not included in the final set of view columns even if they are explicitly specified in the definition statement.
    See Also