Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Report Namespace / FieldCollection Class / Add Method / Add(Field) Method
A Field object to add to the collection.

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

    Parameters

    field
    A Field object to add to the collection.

    Return Value

    A reference to the newly added field.
    Remarks
    In 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