ExcelPivotDataFieldInfo
OfficeIMO.Excel
Describes a data field in an existing pivot table.
Inheritance
- object
- ExcelPivotDataFieldInfo
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
- Property ExcelPivotTableInfo.DataFields
Accepted by parameters 1
- Constructor ExcelPivotTableInfo.ExcelPivotTableInfo
Constructors
public ExcelPivotDataFieldInfo(string fieldName, ExcelPivotDataFunction function, string? displayName) #Creates a data field info instance.
Parameters
- fieldName string
- function OfficeIMO.Excel.ExcelPivotDataFunction
- displayName string?
public ExcelPivotDataFieldInfo(string fieldName, ExcelPivotDataFunction function, string? displayName, uint? numberFormatId) #Creates a data field info instance.
Parameters
- fieldName string
- function OfficeIMO.Excel.ExcelPivotDataFunction
- displayName string?
- numberFormatId uint?
public ExcelPivotDataFieldInfo(string fieldName, ExcelPivotDataFunction function, string? displayName, uint? numberFormatId, string? numberFormatCode) #Creates a data field info instance.
Parameters
- fieldName string
- function OfficeIMO.Excel.ExcelPivotDataFunction
- displayName string?
- numberFormatId uint?
- numberFormatCode string?
public ExcelPivotDataFieldInfo(string fieldName, ExcelPivotDataFunction function, string? displayName, uint? numberFormatId, ExcelPivotShowDataAs? showDataAs, int? baseField, uint? baseItem) #Creates a data field info instance.
Parameters
- fieldName string
- function OfficeIMO.Excel.ExcelPivotDataFunction
- displayName string?
- numberFormatId uint?
- showDataAs OfficeIMO.Excel.ExcelPivotShowDataAs?
- baseField int?
- baseItem uint?
public ExcelPivotDataFieldInfo(string fieldName, ExcelPivotDataFunction function, string? displayName, uint? numberFormatId, string? numberFormatCode, ExcelPivotShowDataAs? showDataAs, int? baseField, uint? baseItem) #Creates a data field info instance.
Parameters
- fieldName string
- function OfficeIMO.Excel.ExcelPivotDataFunction
- displayName string?
- numberFormatId uint?
- numberFormatCode string?
- showDataAs OfficeIMO.Excel.ExcelPivotShowDataAs?
- baseField int?
- baseItem uint?
Inherited Methods
Properties
public ExcelPivotDataFunction Function { get; } #Gets the aggregation function.
public string? DisplayName { get; } #Gets the display name for the data field.
public uint? NumberFormatId { get; } #Gets the number format id applied to the data field.
public string? NumberFormatCode { get; } #Gets the custom number format code applied to the data field, when it can be resolved from workbook styles.
public ExcelPivotShowDataAs? ShowDataAs { get; } #Gets the show-values-as calculation mode applied to the data field.
public int? BaseField { get; } #Gets the base field index for show-values-as calculations that require one.
public uint? BaseItem { get; } #Gets the base item index for show-values-as calculations that require one.