Share via


SPViewFieldCollection.SchemaXml property

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

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

Syntax

'Declaration
Public ReadOnly Property SchemaXml As String
    Get
'Usage
Dim instance As SPViewFieldCollection
Dim value As String

value = instance.SchemaXml
public string SchemaXml { get; }

Property value

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

Remarks

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" />

See also

Reference

SPViewFieldCollection class

SPViewFieldCollection members

Microsoft.SharePoint namespace