SPView.Aggregations 属性
获取或设置视图中使用的一个或多个的聚合,或汇总,列的字段引用。
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Property Aggregations As String
Get
Set
用法
Dim instance As SPView
Dim value As String
value = instance.Aggregations
instance.Aggregations = value
public string Aggregations { get; set; }
属性值
类型:System.String
协作应用程序标记语言 (CAML)字符串,其中包含的字段引用。
备注
Aggregations属性包含一个字符串,如下所示:
<FieldRef Name="_x006e_um2" Type="SUM" />
<FieldRef Name="_x004e_um1" Type="AVG" />