Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ExcelPivotCalculatedFieldInfo

OfficeIMO.Excel

Namespace
OfficeIMO.Excel
Assembly
OfficeIMO.Excel
Source revision
273d35d5ba8a with working tree changes
Modifiers
sealed

Describes a calculated pivot cache field found in an existing pivot table.

Inheritance

  • object
  • ExcelPivotCalculatedFieldInfo

Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Accepted by parameters 1

Constructors

public ExcelPivotCalculatedFieldInfo(string name, string formula, string? caption = null, uint? numberFormatId = null, string? numberFormatCode = null) #

Creates calculated pivot field readback information.

Parameters

name string required
formula string required
caption string? = null optional
numberFormatId uint? = null optional
numberFormatCode string? = null optional

Properties

public string Name { get; } #

Gets the calculated field name.

public string Formula { get; } #

Gets the calculated field formula.

public string? Caption { get; } #

Gets the optional display caption.

public uint? NumberFormatId { get; } #

Gets the optional built-in/custom number format id.

public string? NumberFormatCode { get; } #

Gets the custom number format code, when it can be resolved from workbook styles.