SPViewFieldCollection.SchemaXml property

Gets the schema that specifies the view fields in the collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public string SchemaXml { get; }

Property value

Type: System.String
A Collaborative Application Markup Language (CAML) string that contains the schema.

The SchemaXml property returns a string like the following.

<FieldRef Name="LinkTitleNoMenu" Explicit="TRUE" />
<FieldRef Name="Body" Explicit="TRUE" />
<FieldRef Name="Author" Explicit="TRUE" />
<FieldRef Name="Modified" Explicit="TRUE" />
<FieldRef Name="Attachments" Explicit="TRUE" />