Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
SDK Documentation
SPField Class
SPField Properties
 AggregationFunction Property

  Switch on low bandwidth view
Community Content
In this section
Statistics Annotations (0)
SPField.AggregationFunction Property (Microsoft.SharePoint)
Gets or sets the aggregation function for the field.

Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Visual Basic (Declaration)
Public Property AggregationFunction As String
Visual Basic (Usage)
Dim instance As SPField
Dim value As String

value = instance.AggregationFunction

instance.AggregationFunction = value
C#
public string AggregationFunction { get; set; }

Property Value

A string that contains the aggregation function.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Possible values include the following:      solrac ... Thomas Lee   |   Edit   |   Show History

sum
count
average
min
max
merge
plaintext
Converts node text content into plain text.
first Applies property promotion and demotion to the first element in the collection.
last Applies property promotion and demotion to the last element in the collection.

Tags What's this?: nul (x) Add a tag
Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker