Message-ID: <214692844.8259.1711638847496.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_8258_307435018.1711638847496" ------=_Part_8258_307435018.1711638847496 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html FieldCollection.CreateField(SourceField)

FieldCollection.CreateField(SourceField)

Introduced in build 8.4

=20

Description=

=20

Creates a new PivotTableF= ield of the appropriate type in a FieldCollection=20

C#
=20
 public PivotTableField CreateField(SourceField field)
=20
=20
vb.net
=20
Public Function CreateField(ByVal field As SourceField) As PivotTableFIeld
=20
=20

Parameters=20

field
The=20 SourceField= to build the=20 PivotTableF= ield from.=20

Returns

A = new=20 PivotTableF= ield.=20

Remarks

Th= e name of a PivotTable field defaults to the name of the source field unles= s the field is a data field, or a field with that name already exists in th= e table. All data field names will have a unique number appended to the end= . If a data field name was changed later to be the name of the source field= , the name of any row label, column label, or page field created from the s= ame source field will have a unique number appended to the end.
------=_Part_8258_307435018.1711638847496--