Template properties

The Template type exposes the following members.

Properties

  Name Description
Public property Description Gets or sets the description for the site definition or site template.
Public property DisplayCategory Gets or sets the string value displayed in the Template Selection section of the New SharePoint Site page that represents the category of the site definition.
Public property FilterCategories Gets or sets the string for the name of the filter that provides the category name displayed in the Template Selection section of the New SharePoint Site page.
Public property HasProvisionClass Gets or sets a Boolean value that specifies whether there is an associated class that provides logic for sites created using the specified template.
Public property ID Gets or sets the identifier of the site definition or site template.
Public property ImageUrl Gets or sets the URL to the image (the image file) that is used to represent the site definition or site template in the user interface.
Public property IsCustom Gets or sets a Boolean value that pecifies whether the Template object is a site template - that is, a template that is contained in a template (.stp) file.
Public property IsHidden Gets or sets a Boolean value that pecifies whether the site definition or site template is displayed as an option in the user interface.
Public property IsRootWebOnly Gets or sets a Boolean value that specifies whether the template applies only to the root Web site in the site collection.
Public property IsSubWebOnly Gets or sets a Boolean value that specifies whether the template applies only to subsites created within the site collection.
Public property IsUnique Gets or sets a Boolean value that pecifies whether the site created using the site definition or site template inherits from its parent Web site.
Public property Name Gets or sets the name of the site definition or site template.
Public property Title Gets or sets the display name for the site definition or site template.

Top

See also

Reference

Template class

WebSvcsites namespace