0 out of 1 rated this helpful - Rate this topic

CamlQuery.ViewXml Property

SharePoint 2010

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

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll);  Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll)
[RemoteAttribute]
public string ViewXml { get; set; }

Property Value

Type: System.String
Returns String.

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.

Schema

Xs:complexType name = “FieldDefinitions” 
   Xs:sequence
      Xs:element name = “Field” type = “FieldDefinition” minOccurs = “0” maxOccurs = “unbounded”/
   /xs:sequence
/xs:complexType

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ