Sitecore 5.0 API

Item.TemplateID Property

Gets the IDID of the template.

[Visual Basic]
Public Property TemplateID As ID
[C#]
public Sitecore.Data.ID TemplateID {get; set;}

Remarks

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.

An ID identifies an object within the system, but not uniquely. The underlying data of an ID is a Guid.

See Also

Item Class | Sitecore.Data.Items Namespace