ExcelPivotGroupingInfo
OfficeIMO.Excel
Describes grouping metadata read from a pivot cache field.
Inheritance
- object
- ExcelPivotGroupingInfo
Usage
Explore 3 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 2
- Property ExcelPivotTableInfo.Groupings
- Method ExcelSheet.AddPivotManualGrouping
Accepted by parameters 1
- Constructor ExcelPivotTableInfo.ExcelPivotTableInfo
Constructors
public ExcelPivotGroupingInfo(string fieldName, ExcelPivotGroupBy? groupBy, DateTime? startDate, DateTime? endDate, double? startNumber, double? endNumber, double? interval, bool? autoStart, bool? autoEnd, IReadOnlyList<string>? groupItems = null, uint? baseFieldIndex = null, uint? parentFieldIndex = null) #Creates pivot grouping readback information.
Parameters
- fieldName string
- groupBy OfficeIMO.Excel.ExcelPivotGroupBy?
- startDate System.DateTime?
- endDate System.DateTime?
- startNumber double?
- endNumber double?
- interval double?
- autoStart bool?
- autoEnd bool?
- groupItems System.Collections.Generic.IReadOnlyList<string>? = null
- baseFieldIndex uint? = null
- parentFieldIndex uint? = null
Inherited Methods
Properties
public DateTime? StartDate { get; } #Gets the date grouping start, if present.
public DateTime? EndDate { get; } #Gets the date grouping end, if present.
public double? StartNumber { get; } #Gets the numeric grouping start, if present.
public double? EndNumber { get; } #Gets the numeric grouping end, if present.
public double? Interval { get; } #Gets the grouping interval, if present.
public bool? AutoStart { get; } #Gets whether Excel should infer the grouping start.
public bool? AutoEnd { get; } #Gets whether Excel should infer the grouping end.
public IReadOnlyList<string> GroupItems { get; } #Gets explicit grouping item labels or values, if present.
public uint? BaseFieldIndex { get; } #Gets the source field index used as the base for this grouping, if present.
public uint? ParentFieldIndex { get; } #Gets the parent grouping field index, if present.