Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Introducedin
8.4
8.4
Description

Excerpt

Creates a new PivotTableField of the appropriate type in a FieldCollection

Signature
C#
C#
 public PivotTableField CreateField(SourceField field)
Signature
vb.net
vb.net
Public Function CreateField(ByVal field As SourceField) As PivotTableFIeld
Parameters
Param
field
field

The SourceField to build the PivotTableField from.

Returns

A new PivotTableField.

Remarks

The name of a PivotTable field defaults to the name of the source field unless the field is a data field, or a field with that name already exists in the 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 same source field will have a unique number appended to the end.