SPListTemplate Members

Include Protected Members
Include Inherited Members

Represents a list definition or a list template, which defines the fields and views for a list. List definitions are contained in files within %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\FEATURES, but list templates are created through the user interface or through the object model when a list is saved as a template.

The SPListTemplate type exposes the following members.

Properties

  Name Description
Public property AllowsFolderCreation Gets a Boolean value indicating whether folders can be created within lists created through the list definition or template.
Public property BaseType Gets the base type for the list definition or list template.
Public property CategoryType Gets the category type of the list definition or template.
Public property Description Gets the description of the list definition or list template that is displayed in the user interface.
Public property DocumentTemplate Gets the ID of the document template associated with the list definition or list template.
Public property EditPage Gets the name of a custom application page (/_layouts) used as the page for editing list properties for lists created through the list template.
Public property FeatureId Gets the ID of the Feature containing the list definition.
Public property Hidden Gets a Boolean value that specifies whether the list definition or list template is hidden from Web site users and does not appear as an option on the Create page.
Public property ImageUrl Gets the relative path, based on the server, for the image used to represent the list definition or list template.
Public property InternalName Gets the internal name used for the list definition or list template.
Public property IsCustomTemplate Gets a Boolean value that indicates whether the SPListTemplate object represents a list template, in other words, a template contained within an .stp file (custom template file).
Public property Name Gets the display name for the list definition or list template.
Public property NewPage Gets the name of a custom page used as the page for creating a new list through the list template.
Public property OnQuickLaunch Gets a Boolean value that specifies whether any list created with the list definition or list template is displayed on the Quick Launch bar.
Public property SchemaXml Gets the schema that describes the list definition.
Public property Type Gets the type of the list definition or list template.
Public property Type_Client Gets the type of the list definition or list template.
Public property Unique Gets a Boolean value that indicates whether only one instance of the list type can be created through the template, and that the template cannot be used to create a list through the object model or user interface.

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

SPListTemplate Class

Microsoft.SharePoint Namespace