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

Specifies which fields to include in the query result set.

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

Syntax

C#
public static string ViewFields(
	params Object[] fields
)
Visual Basic (Declaration)
Public Shared Function ViewFields ( _
	ParamArray fields As Object() _
) As String
Visual C++
public:
static String^ ViewFields (
	... array<Object^>^ fields
)

Parameters

fields
array<Object>[]()
an array of CAML FieldRef elements that identify the fields to be included

Return Value

a new CAML ViewFields element

See Also