GetDateGroupField Method

Office Open XML

Returns the date group field.

Namespace:  OfficeOpenXml.Table.PivotTable
Assembly:  EPPlus (in EPPlus.dll) Version: 3.0.0.1 (3.0.0.1)

Syntax

C#
public ExcelPivotTableField GetDateGroupField(
	eDateGroupBy GroupBy
)
Visual Basic (Declaration)
Public Function GetDateGroupField ( _
	GroupBy As eDateGroupBy _
) As ExcelPivotTableField
Visual C++
public:
ExcelPivotTableField^ GetDateGroupField(
	eDateGroupBy GroupBy
)

Parameters

GroupBy
Type: OfficeOpenXml.Table.PivotTable..::.eDateGroupBy
The type of grouping

Return Value

The matching field. If none is found null is returned

See Also