[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Identifies a field reference for grouping and specifies whether to collapse the group.

Namespace: JohnHolliday.Caml.Net
Assembly:  JohnHolliday.Caml.Net (in JohnHolliday.Caml.Net.dll)

Syntax

C#
public static string GroupBy(
	string fieldRefElement,
	bool bCollapse
)
Visual Basic (Declaration)
Public Shared Function GroupBy ( _
	fieldRefElement As String, _
	bCollapse As Boolean _
) As String
Visual C++
public:
static String^ GroupBy (
	String^ fieldRefElement, 
	bool bCollapse
)

Parameters

fieldRefElement
String
a CAML FieldRef element
bCollapse
Boolean
whether to collapse the group

Return Value

a new CAML GroupBy element

See Also

CAML Class
JohnHolliday.Caml.Net Namespace