Sitecore 5.0 API

TemplateSectionItem Class

Represents a Template Section item.

For a list of all members of this type, see TemplateSectionItem Members.

System.Object
   Sitecore.Data.Items.CustomItemBase
      Sitecore.Data.Items.TemplateSectionItem

[Visual Basic]
Public Class TemplateSectionItem
    Inherits CustomItemBase
[C#]
public class TemplateSectionItem : CustomItemBase

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

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.

A template section represents a group of fields, e.g. the Publishing section contains the Publish, Unpublish and Never Publish fields.

To get a field in this section use the GetField method. The GetFields method retrieves all the fields in this section.

New fields can be added to the section using the AddField method and removed using the RemoveField method.

The visiual apperance are determined by the DisplayName and Icon properties. The HiddenBydefault, HideFields, Control properties further controls the appearance of the section in the Sitecore client.

Requirements

Namespace: Sitecore.Data.Items

Assembly: Sitecore.Kernel (in Sitecore.Kernel.dll)

See Also

TemplateSectionItem Members | Sitecore.Data.Items Namespace