Condividi tramite


SPListTemplateCollection.SchemaXml Property

Gets the schema that describes the collection of list definitions.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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