Edit

Share via


PivotField.Function Property

Definition

Returns or sets the function used to summarize the PivotTable field (data fields only). Read/write XlConsolidationFunction.

public:
 property Microsoft::Office::Interop::Excel::XlConsolidationFunction Function { Microsoft::Office::Interop::Excel::XlConsolidationFunction get(); void set(Microsoft::Office::Interop::Excel::XlConsolidationFunction value); };
public Microsoft.Office.Interop.Excel.XlConsolidationFunction Function { get; set; }
Public Property Function As XlConsolidationFunction

Property Value

Remarks

For OLAP data sources, this property is read-only and always returns xlUnknown. For other data sources, this property cannot be set to xlUnknown.

Applies to