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

FieldCollection.CreateField(SourceField)

In= troduced in build 8.4

=20

Description=

Creates a new=20 PivotTableField of the approp= riate type in a=20 FieldCollection=20
C#
=20
 public PivotTableField CreateField(SourceField=
 field)
=20
=20
vb.net
=20
Public Function CreateField(ByVal field As Sourc=
eField) As PivotTableFIeld
=20

Parameters

=20

field
The=20 SourceField to b= uild the=20 PivotTableField<= /a> from.=20

Returns

A = new=20
PivotTableField<= /a>.=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_7902_330413182.1711625368022--