SPView.Aggregations property

Gets or sets field references for one or more aggregate, or total, columns used in a view.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public string Aggregations { get; set; }

Property value

Type: System.String
A Collaborative Application Markup Language (CAML) string that contains the field references.

The Aggregations property contains a string like the following:

<FieldRef Name="_x006e_um2" Type="SUM" />
<FieldRef Name="_x004e_um1" Type="AVG" />
Show: