Compartilhar via


Template Members

Include Protected Members
Include Inherited Members

Defines properties and characteristics of a SharePoint Foundation site definition or specifies the site template that is used to instantiate a SharePoint Foundation site (SPWeb).

The Template type exposes the following members.

Constructors

  Name Description
Public method Template Initializes a new instance of the Template service.

Top

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

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

Template Class

Sites Web Service