Share via


SPListTemplateCollection.SchemaXml property

Gets the schema that describes the collection of list definitions.

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

Syntax

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

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

Property value

Type: System.String
A string in Collaborative Application Markup Language that contains the schema.

Remarks

The SchemaXml property returns the contents of the ListTemplates element in the ONET.XML file for the site, which specify the list definitions that are available for instantiating lists.

This property does not apply to list templates.

See also

Reference

SPListTemplateCollection class

SPListTemplateCollection members

Microsoft.SharePoint namespace