Adds a field or a clone of a field to a Fields collection.

Namespace:  C1.C1Report
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public Field Add(
	Field field
)
Visual Basic
Public Function Add ( _
	field As Field _
) As Field

Parameters

field
Type: C1.C1Report..::..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