Export (0) Print
Expand All

CamlQuery.ViewXml Property

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

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

[RemoteAttribute]
public string ViewXml { get; set; }

Property Value

Type: System.String
Returns String.

It must be a null reference (Nothing in Visual Basic), 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

Show:
© 2014 Microsoft