Represents a
Template stored in a Microsoft Content Management Server (MCMS) 2002
TemplateGallery.
Namespace: Microsoft.ContentManagement.Publishing
Assembly: Microsoft.ContentManagement.Publishing (in microsoft.contentmanagement.publishing.dll)

Syntax
Visual Basic (Declaration)
Public NotInheritable Class Template
Inherits TemplateGalleryItem
public sealed class Template : TemplateGalleryItem
public ref class Template sealed : public TemplateGalleryItem
public final class Template extends TemplateGalleryItem
public final class Template extends TemplateGalleryItem

Remarks
Template objects are used to control the layout and text formatting of pages and their Posting objects. The PlaceholderDefinition objects within a Template define areas where authors are allowed to add content. The properties of a PlaceholderDefinition control the types of content the authors are allowed to add and the formatting they are able to apply to that content. Template designers can set the properties of a PlaceholderDefinition so that authors cannot change its content in any way. A non-editable PlaceholderDefinition is used to insert resources that should not be altered, such as company logos and copyright notices.
In a browser-based client, the Template object has two main functions. It gives access to various properties of the Template, such as the Name and Description, and it provides a URL for linking to a preview of the Template.
The MCMS Publishing API's TemplateCollection object represents a collection of Template objects.
Users cannot extend (or inherit from in Visual Basic) this class.

Inheritance Hierarchy

Thread Safety
Any public static (
Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also