ComponentOne FlexReport for WinForms
Add(FieldBase) Method

C1.Win.FlexReport.4 Assembly > C1.Win.FlexReport Namespace > FieldCollection Class > Add Method : Add(FieldBase) Method
A FieldBase object to add to the collection.
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

Reference

FieldCollection Class
FieldCollection Members
Overload List