FlexReport for WinForms | ComponentOne
C1.Win.FlexReport.4.5.2 Assembly / C1.Win.FlexReport Namespace / FieldCollection Class / Add Method / Add(FieldBase) Method
A FieldBase object to add to the collection.

In This Topic
    Add(FieldBase) Method
    In This Topic
    Adds a field or a clone of a field to the collection.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal field As FieldBase _
    ) As FieldBase
    public FieldBase Add( 
       FieldBase field
    )

    Parameters

    field
    A FieldBase object to add to the collection.

    Return Value

    A reference to the newly added field.
    Remarks
    If the field does not belong to any reports, it is added to the collection. If the field already belongs to a report, a clone is created and added to the collection.
    See Also