SP.CamlQuery.viewXml Property

SharePoint 2010

Last modified: February 08, 2010

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To

Gets or sets value that specifies the XML schema that defines the list view.

var value = SP.CamlQuery.get_viewXml(); 

It must be null, empty, or an XML fragment that conforms to the ViewDefinition type.

The FieldDefinitions type contains a collection of zero or more fields.