SPFieldLink.AggregationFunction property
Gets or sets the aggregation function for the field. Used to promote and demote properties in XML documents.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property AggregationFunction As String
Get
Set
'Usage
Dim instance As SPFieldLink
Dim value As String
value = instance.AggregationFunction
instance.AggregationFunction = value
public string AggregationFunction { get; set; }
Property value
Type: System.String
A string that contains the aggregation function. The default value is a null reference (Nothing in Visual Basic).
Remarks
If the XML document node that is specified by the XPath property stores a collection of values, you can use the AggregationFunction property to specify the action (sum, average, min, max, and so on) to take on the value set that is returned.
See also
Reference
Microsoft.SharePoint namespace
Other resources
Using Content Types to Specify XML Document Properties