Retrieves templates from the database.
For a list of all members of this type, see TemplateRecords Members.
System.Object
Sitecore.Data.TemplateRecords
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
A template defines the schema of an item. A schema describes which fields an item has and may contain default values for the fields, for instance a layout definition. Fields are grouped into sections that describe related fields. Templates supports inheritance.
Templates can be retrieved either using their ID or a path relative to the template root, e.g. "System/Folder".
The templates are normally access through the TemplatesTemplates property.
To create a new template use the CreateTemplate method.
Namespace: Sitecore.Data
Assembly: Sitecore.Kernel (in Sitecore.Kernel.dll)
TemplateRecords Members | Sitecore.Data Namespace