Share via


View.Aggregations property

Gets or sets a value that specifies fields and functions that define totals shown in a list view.

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

Syntax

'Declaration
Public Property Aggregations As String
    Get
    Set
'Usage
Dim instance As View
Dim value As String

value = instance.Aggregations

instance.Aggregations = value
public string Aggregations { get; set; }

Property value

Type: System.String
Returns a String instance representing the . fields and functions that define totals shown in a list view.

Remarks

It must be a null reference (Nothing in Visual Basic) or an XML fragment that conforms to the following XML schema:<xs:sequence><xs:element name="FieldRef" type="FieldRefDefinitionAggregation" minOccurs="0" maxOccurs="unbounded" /></xs:sequence>. The FieldRefDefinitionAggregation type is used to specify the field that will be aggregated.

See also

Reference

View class

View members

Microsoft.SharePoint.Client namespace